Go back to root after log out

This commit is contained in:
Lim Chee Aun 2023-02-19 14:49:05 +08:00
parent 72068d9d46
commit 7f22ec6a9b

View file

@ -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