mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-24 23:26:29 +09:00
test: Storybook is broken
This commit is contained in:
parent
65a597a35d
commit
34e958c3a7
@ -46,7 +46,10 @@ function loadTheme(applyTheme: typeof import('../src/scripts/theme')['applyTheme
|
||||
|
||||
function initLocalStorage() {
|
||||
localStorage.clear();
|
||||
localStorage.setItem('account', JSON.stringify(userDetailed()));
|
||||
localStorage.setItem('account', JSON.stringify({
|
||||
...userDetailed(),
|
||||
policies: {},
|
||||
}));
|
||||
localStorage.setItem('locale', JSON.stringify(locale));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user