refresh page when routing to logout
This commit is contained in:
@@ -59,7 +59,8 @@ export function Settings() {
|
||||
text={Locale.Settings.Danger.Logout.Action}
|
||||
onClick={async () => {
|
||||
if (await showConfirm(Locale.Settings.Danger.Logout.Confirm)) {
|
||||
navigate(Path.Logout);
|
||||
// navigate(Path.Logout);
|
||||
window.location.href = '/logout';
|
||||
}
|
||||
}}
|
||||
type="danger"
|
||||
|
||||
Reference in New Issue
Block a user