fix: not refreshing on logout

This commit is contained in:
2022-11-24 00:15:38 +01:00
parent 586db511b0
commit 1deea11126
+2 -2
View File
@@ -26,8 +26,8 @@ export const ProfilePage = ({}) => {
}
})
const handleLogout = () => {
logout()
const handleLogout = async () => {
await logout()
route(prependBaseUrl('/'))
}