Skip to content

Commit

Permalink
Merge pull request #118 from raunakgiri21/fix/navigate-back-from-404
Browse files Browse the repository at this point in the history
Error 404 Page: navigate-back
  • Loading branch information
pradeeptosarkar authored Oct 2, 2023
2 parents 10c98e7 + c1a7331 commit ed8c442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pages/Error/NotFound.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function NotFound() {
const navigate = useNavigate();

const handleRedirection = () => {
navigate("/");
navigate(-1);
};
return (
<Section>
Expand Down

0 comments on commit ed8c442

Please sign in to comment.