diff --git a/src/App.tsx b/src/App.tsx index adb432f..85fb468 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -21,7 +21,7 @@ export default function App() { const handleSignOut = () => { signOut(); - window.location.href = '/'; + setSession(null); }; if (!session) {