chore: redirect to sign in page instead of top page when signing out (#32)

This commit is contained in:
Takeshi Kimata
2024-09-22 12:20:54 +09:00
committed by GitHub
parent cabce11143
commit 6ec754d248
3 changed files with 3 additions and 3 deletions

View File

@@ -209,7 +209,7 @@ export default function HeaderNavbarMenu({ messages, locale }: Props) {
user: null,
});
context.removeTokenFromLocalStorage();
router.push(`/`, { locale: locale });
router.push(`/account/signin`, { locale: locale });
setIsMenuOpen(false);
}}
/>