From e45f16ff561a79442e982a358caca51d15012da9 Mon Sep 17 00:00:00 2001 From: NISHIZAWA Shuntaro Date: Fri, 18 Oct 2024 00:42:16 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20biome=E3=81=AB=E3=82=88=E3=82=8B?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .storybook/preview.tsx | 6 +++--- app/components/Background.tsx | 2 +- app/root.tsx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 54eadc3..4199708 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -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; diff --git a/app/components/Background.tsx b/app/components/Background.tsx index e76cc46..ba5cad9 100644 --- a/app/components/Background.tsx +++ b/app/components/Background.tsx @@ -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: { diff --git a/app/root.tsx b/app/root.tsx index 6e4aa8c..aa8e8ef 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -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",