mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 18:25:45 +01: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