Skip to content

Commit

Permalink
pseudostage
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVOiceover committed Aug 6, 2024
1 parent 9e5a3e5 commit 60283e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NavBar/NavItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function NavItems({ classNameValue, isLoggedIn }: NavItemsProps) {
try {
await signOut();
// Optionally, you can redirect the user or update the UI here
window.location.href = '/'; // Redirect to home page after logout
// window.location.href = '/'; // Redirect to home page after logout
} catch (error) {
console.error('Logout failed:', error);
}
Expand Down

0 comments on commit 60283e3

Please sign in to comment.