Skip to content

Commit

Permalink
Update ButtonLogout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansmrd committed Aug 5, 2024
1 parent 1dd25ea commit e6e8ae1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/src/app/(root)/account/_components/ButtonLogout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ export const ButtonLogout = ({ className, isMargin = true, size }: { className?:
const router = useRouter();
const handleClick = () => {
logout();
window.location.reload();
// router.refresh();
router.push("/auth");
// router.push("/auth");
};

return (
Expand Down

0 comments on commit e6e8ae1

Please sign in to comment.