Skip to content

Commit

Permalink
prettier files
Browse files Browse the repository at this point in the history
  • Loading branch information
ariannargesi committed Mar 18, 2024
1 parent 6911249 commit 642357e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
16 changes: 7 additions & 9 deletions examples/with-jotai/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<html lang="en">
<body>
<Provider>
{children}
</Provider>
<Provider>{children}</Provider>
</body>
</html>
)
);
}
8 changes: 4 additions & 4 deletions examples/with-jotai/app/page.tsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion examples/with-jotai/components/Canvas.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
'use client'
"use client";

import { atom, useAtom } from "jotai";

Expand Down
2 changes: 1 addition & 1 deletion examples/with-jotai/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
},
"include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}
}

0 comments on commit 642357e

Please sign in to comment.