diff --git a/examples/with-jotai/app/layout.tsx b/examples/with-jotai/app/layout.tsx index cad34bcaaf7d5..51f3d835719b9 100644 --- a/examples/with-jotai/app/layout.tsx +++ b/examples/with-jotai/app/layout.tsx @@ -1,22 +1,20 @@ -import { Provider } from "jotai" -import { Metadata } from "next" +import { Provider } from "jotai"; +import { Metadata } from "next"; export const metadata: Metadata = { - icons: '/favicon.ico' -} + icons: "/favicon.ico", +}; export default function RootLayout({ children, }: { - children: React.ReactNode + children: React.ReactNode; }) { return ( - - {children} - + {children} - ) + ); } diff --git a/examples/with-jotai/app/page.tsx b/examples/with-jotai/app/page.tsx index 04187e7093d5a..41a3d0e9860cd 100644 --- a/examples/with-jotai/app/page.tsx +++ b/examples/with-jotai/app/page.tsx @@ -1,13 +1,13 @@ import Image from "next/image"; import styles from "../styles/Home.module.css"; -import '../styles/globals.css' +import "../styles/globals.css"; import Canvas from "../components/Canvas"; import { Metadata } from "next"; export const metadata: Metadata = { - title: 'with-jotai', - description: 'Generated by create next app', - } + title: "with-jotai", + description: "Generated by create next app", +}; export default function Home() { return ( diff --git a/examples/with-jotai/components/Canvas.tsx b/examples/with-jotai/components/Canvas.tsx index 6e17966913824..f4a6602e2b1b3 100644 --- a/examples/with-jotai/components/Canvas.tsx +++ b/examples/with-jotai/components/Canvas.tsx @@ -1,4 +1,4 @@ -'use client' +"use client"; import { atom, useAtom } from "jotai"; diff --git a/examples/with-jotai/tsconfig.json b/examples/with-jotai/tsconfig.json index 6cdb40292ede4..6b98f2247f52d 100644 --- a/examples/with-jotai/tsconfig.json +++ b/examples/with-jotai/tsconfig.json @@ -22,4 +22,4 @@ }, "include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules"] -} \ No newline at end of file +}