Skip to content

Commit 274efdd

Browse files
committed
fix(ts): resolve issue with 'JSX' namespace
1 parent 4cff0c4 commit 274efdd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

apps/docs/app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ export const metadata: Metadata = {
1111

1212
export default function RootLayout({
1313
children,
14-
}: {
14+
}: Readonly<{
1515
children: React.ReactNode;
16-
}): JSX.Element {
16+
}>) {
1717
return (
1818
<html lang="en">
1919
<body className={inter.className}>{children}</body>

apps/docs/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Image from "next/image"
22
import { Button } from "@ui/components/button"
33

4-
export default function Page(): JSX.Element {
4+
export default function Home() {
55
return (
66
<main className="flex flex-col items-center justify-between min-h-screen p-24">
77
<div className="flex flex-col items-center justify-between min-h-screen p-24 w-screen h-screen top-[0] absolute gradient blur-3xl opacity-30"></div>

0 commit comments

Comments
 (0)