Go back to root after log out

pull/54/head
Lim Chee Aun 2023-02-19 14:49:05 +08:00
rodzic 72068d9d46
commit 7f22ec6a9b
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -129,7 +129,8 @@ function Settings({ onClose }) {
if (!yes) return;
accounts.splice(i, 1);
store.local.setJSON('accounts', accounts);
location.reload();
// location.reload();
location.href = '/';
}}
>
Log out