fix: correct component syntax and formatting in layout and header files

This commit is contained in:
tuna2134
2026-05-26 08:42:04 +09:00
parent dcf4255535
commit 4b91d2ea8a
4 changed files with 11 additions and 11 deletions

View File

@@ -11,6 +11,6 @@ const Layout: React.FC<LayoutProps> = ({ children }) => {
{children}
</>
);
}
};
export default Layout;
export default Layout;

View File

@@ -2,9 +2,7 @@ import Image from "next/image";
import { NextPage } from "next";
const Home: NextPage = () => {
return (
<p>hello</p>
);
}
return <p>hello</p>;
};
export default Home;
export default Home;

View File

@@ -27,7 +27,9 @@ export default function RootLayout({
lang="ja"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col bg-black text-white">{children}</body>
<body className="min-h-full flex flex-col bg-black text-white">
{children}
</body>
</html>
);
}