アカウント連携を解除したときにログアウトしない問題を修正
This commit is contained in:
parent
0626f1581e
commit
659dfca8d2
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ export const SettingPage: React.VFC = () => {
|
||||||
message: t('_deactivate.success'),
|
message: t('_deactivate.success'),
|
||||||
icon: 'info',
|
icon: 'info',
|
||||||
onSelect() {
|
onSelect() {
|
||||||
|
localStorage.removeItem(LOCALSTORAGE_KEY_TOKEN);
|
||||||
location.href = '/';
|
location.href = '/';
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue