mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat(core): remove toggle workspace onboarding dialog (#6501)
This commit is contained in:
@@ -35,10 +35,7 @@ type CurrentDocCollection = {
|
||||
|
||||
export const skipOnboarding = async (context: BrowserContext) => {
|
||||
await context.addInitScript(() => {
|
||||
window.localStorage.setItem(
|
||||
'app_config',
|
||||
'{"onBoarding":false, "dismissWorkspaceGuideModal":true}'
|
||||
);
|
||||
window.localStorage.setItem('app_config', '{"onBoarding":false}');
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user