Skip to content

Commit

Permalink
fix: JotaiProvider 원복
Browse files Browse the repository at this point in the history
  • Loading branch information
hamo-o committed Aug 14, 2024
1 parent 3a4fdc4 commit 6bd0c34
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions apps/admin/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import "./global.css";
import "wowds-ui/styles.css";
import "@wow-class/ui/styles.css";

import { JotaiProvider } from "components/JotaiProvider";
import Navbar from "components/Navbar";
import type { Metadata } from "next";
import type { ReactNode } from "react";
Expand All @@ -21,9 +22,11 @@ const RootLayout = ({
return (
<html lang="ko">
<body>
<Navbar />
{children}
{modal}
<JotaiProvider>
<Navbar />
{children}
{modal}
</JotaiProvider>
</body>
</html>
);
Expand Down

0 comments on commit 6bd0c34

Please sign in to comment.