mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-05 03:25:10 +08:00
fix(storybook): disable onboarding for storybook (#5351)
This commit is contained in:
@@ -107,6 +107,13 @@ const ThemeChange = () => {
|
||||
};
|
||||
|
||||
localStorage.clear();
|
||||
|
||||
// do not show onboarding for storybook
|
||||
window.localStorage.setItem(
|
||||
'app_config',
|
||||
'{"onBoarding":false, "dismissWorkspaceGuideModal":true}'
|
||||
);
|
||||
|
||||
const store = createStore();
|
||||
_setCurrentStore(store);
|
||||
setup();
|
||||
|
||||
Reference in New Issue
Block a user