mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-18 16:28:26 +02:00
router refresh on logout
This commit is contained in:
parent
82192fa180
commit
a2bf3ba7e7
2 changed files with 2 additions and 1 deletions
|
@ -57,6 +57,7 @@ export default function ProfileIcon() {
|
|||
})
|
||||
.then(() => {
|
||||
router.push("/auth/login");
|
||||
router.refresh();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue