mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-16 15:21:48 +03:00
Go back to root after log out
This commit is contained in:
parent
72068d9d46
commit
7f22ec6a9b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue