router refresh on logout

This commit is contained in:
Milo Schwartz
2025-01-11 15:10:02 -05:00
parent 82192fa180
commit a2bf3ba7e7
2 changed files with 2 additions and 1 deletions

View File

@@ -57,6 +57,7 @@ export default function ProfileIcon() {
})
.then(() => {
router.push("/auth/login");
router.refresh();
});
}