fix: add maniual localstorage clearing

This commit is contained in:
TzeYiing authored and Ziinc committed 2022-10-13 04:08:14 +08:00
1 parent 92c1568c9c
commit e2380b7d0d
1 file changed
+1
@@ -27,6 +27,7 @@ const AccountLayout: FC<Props> = ({ children, title, breadcrumbs }) => {
const onClickLogout = async () => {
await auth.signOut()
localStorage.clear();
router.reload()
}