Skip to content

Commit

Permalink
fix: missing JSX namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Dec 9, 2024
1 parent 3f33bc4 commit ad48d51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/nextjs/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { SharedRootLayout } from "shared-ui";

const inter = Inter({ subsets: ["latin"] });

export default function RootLayout({ children }: { children: React.ReactNode }): JSX.Element {
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body>
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default function Home(): JSX.Element {
export default function Home() {
return <h1>Next.js Example</h1>;
}

0 comments on commit ad48d51

Please sign in to comment.