Skip to content

Commit

Permalink
Update layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
wizaye authored Sep 4, 2023
1 parent ba1d52d commit 7093785
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/home/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { SessionProvider } from "next-auth/react";

export default function PostLayout({
children, // will be a page or nested layout
}: {
children: React.ReactNode;
}) {
return <SessionProvider>{children}</SessionProvider>;
}
}

0 comments on commit 7093785

Please sign in to comment.