Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 997c3da

Browse files
committed
chore: format
1 parent 9d8671e commit 997c3da

File tree

3 files changed

+3
-22
lines changed

3 files changed

+3
-22
lines changed

site/.storybook/preview.jsx

+1-19
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,10 @@
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";
201
import "../src/index.css";
212
import { ThemeProvider as EmotionThemeProvider } from "@emotion/react";
223
import CssBaseline from "@mui/material/CssBaseline";
234
import {
245
ThemeProvider as MuiThemeProvider,
256
StyledEngineProvider,
7+
// biome-ignore lint/nursery/noRestrictedImports: we extend the MUI theme
268
} from "@mui/material/styles";
279
import { DecoratorHelpers } from "@storybook/addon-themes";
2810
import isChromatic from "chromatic/isChromatic";

site/src/hooks/useTimeSync.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77
* the hook, you must also provide a select function
88
*/
99
import {
10-
createContext,
1110
type FC,
1211
type PropsWithChildren,
12+
createContext,
1313
useCallback,
1414
useContext,
1515
useId,
1616
useState,
1717
useSyncExternalStore,
1818
} from "react";
1919
import {
20-
defaultOptions,
2120
type SubscriptionEntry,
2221
TimeSync,
2322
type TimeSyncInitOptions,
23+
defaultOptions,
2424
} from "utils/TimeSync";
2525
import { useEffectEvent } from "./hookPolyfills";
2626

site/src/pages/TemplatePage/TemplateInsightsPage/TemplateInsightsPage.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
} from "api/queries/insights";
1414
import type {
1515
Entitlements,
16-
Template,
1716
TemplateAppUsage,
1817
TemplateInsightsResponse,
1918
TemplateParameterUsage,

0 commit comments

Comments
 (0)