Skip to content

Commit

Permalink
fix: biomeによる修正
Browse files Browse the repository at this point in the history
  • Loading branch information
shun-shobon committed Oct 17, 2024
1 parent 6adbb4a commit e45f16f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import "~/tailwind.css";
import { DecoratorHelpers } from "@storybook/addon-themes";
import type { Preview, ReactRenderer, StoryContext } from "@storybook/react";
import { useEffect } from "react";
import { DEFAULT_THEME, ThemeProvider, THEMES } from "~/components/Theme";
import type { Theme } from "~/components/Theme";
import type { DecoratorFunction } from "storybook/internal/types";
import { appThemes } from "~/root";
import { Background } from "~/components/Background";
import { DEFAULT_THEME, THEMES, ThemeProvider } from "~/components/Theme";
import type { Theme } from "~/components/Theme";
import { appThemes } from "~/root";

const { initializeThemeState, pluckThemeFromContext, useThemeParameters } =
DecoratorHelpers;
Expand Down
2 changes: 1 addition & 1 deletion app/components/Background.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import type { ReactNode } from "react";
import { useId } from "react";

import { cva } from "class-variance-authority";
import { useTheme } from "./Theme";
import { cn } from "~/libs/utils";
import { useTheme } from "./Theme";

const bgVariants = cva("", {
variants: {
Expand Down
4 changes: 2 additions & 2 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import {
ScrollRestoration,
useLocation,
} from "@remix-run/react";
import { cva } from "class-variance-authority";
import { Suspense } from "react";
import { Background } from "./components/Background";
import { Loading } from "./components/Loading";
import { cva } from "class-variance-authority";
import { ThemeProvider } from "./components/Theme";
import { Background } from "./components/Background";

export const appThemes = cva(
"font-dela-gothic antialiased bg-size-app w-full min-h-dvh text-white relative",
Expand Down

0 comments on commit e45f16f

Please sign in to comment.