fix: not refreshing on logout

pull/1/head
Antonio De Lucreziis 2 years ago
parent 586db511b0
commit 1deea11126

@ -26,8 +26,8 @@ export const ProfilePage = ({}) => {
}
})
const handleLogout = () => {
logout()
const handleLogout = async () => {
await logout()
route(prependBaseUrl('/'))
}

Loading…
Cancel
Save