Skip to content

Commit

Permalink
modify: error handling for non-exist
Browse files Browse the repository at this point in the history
  • Loading branch information
zinirun committed Mar 11, 2021
1 parent bafa3b1 commit c9367e9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions frontend/src/do/pages/DoPreviewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,6 @@ export default function DoPreviewPage(props) {
setStatus('progress');
}, []);

if (error) {
console.log(error);
props.history.push('/?404form');
}

return (
<div
style={{
Expand Down

0 comments on commit c9367e9

Please sign in to comment.