fix: make user const
This commit is contained in:
parent
5b1eb3df9b
commit
d02a0611c7
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ const AccountHandoff = () => {
|
|||
throw new Error('token not found');
|
||||
}
|
||||
|
||||
let user = getData(LS_KEYS.USER) || {};
|
||||
const user = getData(LS_KEYS.USER) || {};
|
||||
user.token = token;
|
||||
|
||||
setData(LS_KEYS.USER, user);
|
||||
|
|
Loading…
Add table
Reference in a new issue