We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a49b92e commit c9a1a8cCopy full SHA for c9a1a8c
packages/frontend/component/.storybook/preview.tsx
@@ -9,6 +9,9 @@ import { useDarkMode } from 'storybook-dark-mode';
9
import type { Preview } from '@storybook/react';
10
import React from 'react';
11
import { ConfirmModalProvider } from '../src/ui/modal/confirm-modal';
12
+import { setupGlobal } from '@affine/env/global';
13
+
14
+setupGlobal();
15
16
export const parameters: Preview = {
17
argTypes: {
0 commit comments