fix: not refreshing on logout
This commit is contained in:
@@ -26,8 +26,8 @@ export const ProfilePage = ({}) => {
|
||||
}
|
||||
})
|
||||
|
||||
const handleLogout = () => {
|
||||
logout()
|
||||
const handleLogout = async () => {
|
||||
await logout()
|
||||
route(prependBaseUrl('/'))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user