mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
made transitional Anchor component for next/cra
This commit is contained in:
parent
8bac6bb2f7
commit
7658068caa
12 changed files with 57 additions and 28 deletions
|
@ -13,7 +13,7 @@ export class AuthStore {
|
|||
makeAutoObservable(this);
|
||||
|
||||
void makePersistable(this, {
|
||||
name: `vault48_auth_${CONFIG.API_HOST}`,
|
||||
name: `vault48_auth_${CONFIG.apiHost}`,
|
||||
properties: ['token', 'user', 'isTesterInternal'],
|
||||
storage: typeof window !== 'undefined' ? window.localStorage : undefined,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue