diff --git a/package.json b/package.json index 755cfb2..eefa7b6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "deploy": "wrangler deploy --minify src/index.tsx", "test": "vitest run", "biome-check": "npx @biomejs/biome check ./src", - "biome-apply": "npx @biomejs/biome check --apply ./src", + "biome-apply": "npx @biomejs/biome check --write ./src", "type-check": "tsc", "generate": "drizzle-kit generate:sqlite --schema=src/schema.ts" }, diff --git a/src/views/Layout.tsx b/src/views/Layout.tsx index b443d0c..76e971d 100644 --- a/src/views/Layout.tsx +++ b/src/views/Layout.tsx @@ -1,4 +1,4 @@ -import type { FC } from "hono/dist/types/jsx"; +import type { FC } from "hono/jsx"; export const Layout: FC = ({ children }) => ( diff --git a/src/views/NotFound.tsx b/src/views/NotFound.tsx index 592daca..f6b68f0 100644 --- a/src/views/NotFound.tsx +++ b/src/views/NotFound.tsx @@ -1,4 +1,4 @@ -import type { FC } from "hono/dist/types/jsx"; +import type { FC } from "hono/jsx"; type Props = { message?: string }; diff --git a/src/views/Room.tsx b/src/views/Room.tsx index f06f441..07cb418 100644 --- a/src/views/Room.tsx +++ b/src/views/Room.tsx @@ -1,4 +1,4 @@ -import type { FC } from "hono/dist/types/jsx"; +import type { FC } from "hono/jsx"; import type { Messages, Rooms } from "../schema"; import { formatTitle } from "../utils/format-tilte"; diff --git a/src/views/RoomList.tsx b/src/views/RoomList.tsx index ba56673..26bbfb8 100644 --- a/src/views/RoomList.tsx +++ b/src/views/RoomList.tsx @@ -1,4 +1,4 @@ -import type { FC } from "hono/dist/types/jsx"; +import type { FC } from "hono/jsx"; import type { Rooms } from "../schema"; import { formatTitle } from "../utils/format-tilte"; diff --git a/src/views/Top.tsx b/src/views/Top.tsx index c5c8c7c..089f4d0 100644 --- a/src/views/Top.tsx +++ b/src/views/Top.tsx @@ -1,4 +1,4 @@ -import type { FC } from "hono/dist/types/jsx"; +import type { FC } from "hono/jsx"; export const Top: FC = () => ( <>