File tree 3 files changed +3
-22
lines changed
pages/TemplatePage/TemplateInsightsPage
3 files changed +3
-22
lines changed Original file line number Diff line number Diff line change 1
- // @ts -check
2
- /**
3
- * @file Defines the main configuration file for all of our Storybook tests.
4
- * This file must be a JSX/JS file, but we can at least add some type safety via
5
- * the ts-check directive.
6
- * @see {@link https://storybook.js.org/docs/configure#configure-story-rendering }
7
- *
8
- * @typedef {import("react").ReactElement } ReactElement
9
- * @typedef {import("react").PropsWithChildren } PropsWithChildren
10
- * @typedef {import("react").FC<PropsWithChildren> } FC
11
- *
12
- * @typedef {import("@storybook/react").StoryContext } StoryContext
13
- * @typedef {import("@storybook/react").Preview } Preview
14
- *
15
- * @typedef {(Story: FC, Context: StoryContext) => React.JSX.Element } Decorator A
16
- * Storybook decorator function used to inject baseline data dependencies into
17
- * our React components during testing.
18
- */
19
- import React from "react" ;
20
1
import "../src/index.css" ;
21
2
import { ThemeProvider as EmotionThemeProvider } from "@emotion/react" ;
22
3
import CssBaseline from "@mui/material/CssBaseline" ;
23
4
import {
24
5
ThemeProvider as MuiThemeProvider ,
25
6
StyledEngineProvider ,
7
+ // biome-ignore lint/nursery/noRestrictedImports: we extend the MUI theme
26
8
} from "@mui/material/styles" ;
27
9
import { DecoratorHelpers } from "@storybook/addon-themes" ;
28
10
import isChromatic from "chromatic/isChromatic" ;
Original file line number Diff line number Diff line change 7
7
* the hook, you must also provide a select function
8
8
*/
9
9
import {
10
- createContext ,
11
10
type FC ,
12
11
type PropsWithChildren ,
12
+ createContext ,
13
13
useCallback ,
14
14
useContext ,
15
15
useId ,
16
16
useState ,
17
17
useSyncExternalStore ,
18
18
} from "react" ;
19
19
import {
20
- defaultOptions ,
21
20
type SubscriptionEntry ,
22
21
TimeSync ,
23
22
type TimeSyncInitOptions ,
23
+ defaultOptions ,
24
24
} from "utils/TimeSync" ;
25
25
import { useEffectEvent } from "./hookPolyfills" ;
26
26
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ import {
13
13
} from "api/queries/insights" ;
14
14
import type {
15
15
Entitlements ,
16
- Template ,
17
16
TemplateAppUsage ,
18
17
TemplateInsightsResponse ,
19
18
TemplateParameterUsage ,
You can’t perform that action at this time.
0 commit comments