Skip to content

Commit

Permalink
404: directly return when auto redirect from 404
Browse files Browse the repository at this point in the history
  • Loading branch information
Pilou97 committed Apr 4, 2024
1 parent ee37cd1 commit b81f962
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/404.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default function Custom404(props: any) {
props.walletPaths.includes(page)
) {
router.push(path);
return <></>;
}

return (
Expand Down

0 comments on commit b81f962

Please sign in to comment.