From 03e6096a28ac3884a460091d8932b09329c8880d Mon Sep 17 00:00:00 2001 From: yasuaki640 Date: Sun, 22 Dec 2024 15:42:47 +0900 Subject: [PATCH] fix type error --- src/views/Layout.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Layout.tsx b/src/views/Layout.tsx index aa33640..d581b45 100644 --- a/src/views/Layout.tsx +++ b/src/views/Layout.tsx @@ -1,6 +1,6 @@ -import type { FC } from "hono/jsx"; +import type { PropsWithChildren } from "hono/jsx"; -export const Layout: FC = ({ children }) => ( +export const Layout = ({ children }: PropsWithChildren) => (