Skip to content

Commit

Permalink
fix: go back button return to home (#1056)
Browse files Browse the repository at this point in the history
Co-authored-by: parth <[email protected]>
Co-authored-by: Tamal Das <[email protected]>
  • Loading branch information
3 people authored Aug 30, 2023
1 parent 34e2640 commit 892a0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button/AuthButton/TopButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const TopButton = ({ GoogleButton, isGoBack }) => {
const navigate = useNavigate();

const handleGoBack = () => {
navigate(-1);
navigate("/");
};

const handleNavigatePages = () => {
Expand Down

0 comments on commit 892a0ce

Please sign in to comment.