Skip to content

Commit

Permalink
Refactor JSX imports to use new path in Layout, Top, Room, NotFound, …
Browse files Browse the repository at this point in the history
…and RoomList components. Update biome-apply script to use --write flag.
  • Loading branch information
yasuaki640 committed Jul 13, 2024
1 parent bb49802 commit 99b2f9d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion src/views/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { FC } from "hono/dist/types/jsx";
import type { FC } from "hono/jsx";

export const Layout: FC = ({ children }) => (
<html lang={"ja"}>
Expand Down
2 changes: 1 addition & 1 deletion src/views/NotFound.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { FC } from "hono/dist/types/jsx";
import type { FC } from "hono/jsx";

type Props = { message?: string };

Expand Down
2 changes: 1 addition & 1 deletion src/views/Room.tsx
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/views/RoomList.tsx
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion src/views/Top.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { FC } from "hono/dist/types/jsx";
import type { FC } from "hono/jsx";

export const Top: FC = () => (
<>
Expand Down

0 comments on commit 99b2f9d

Please sign in to comment.