0
0
Fork 0

アカウント連携を解除したときにログアウトしない問題を修正

This commit is contained in:
Xeltica 2022-11-28 18:52:50 +09:00
parent 0626f1581e
commit 659dfca8d2

View file

@ -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 = '/';
} }
})); }));