mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 11:43:08 +02:00
test: Storybook is broken
This commit is contained in:
parent
65a597a35d
commit
34e958c3a7
1 changed files with 4 additions and 1 deletions
|
@ -46,7 +46,10 @@ function loadTheme(applyTheme: typeof import('../src/scripts/theme')['applyTheme
|
||||||
|
|
||||||
function initLocalStorage() {
|
function initLocalStorage() {
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
localStorage.setItem('account', JSON.stringify(userDetailed()));
|
localStorage.setItem('account', JSON.stringify({
|
||||||
|
...userDetailed(),
|
||||||
|
policies: {},
|
||||||
|
}));
|
||||||
localStorage.setItem('locale', JSON.stringify(locale));
|
localStorage.setItem('locale', JSON.stringify(locale));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue