From 53d8eb5bcfdb961076ef2d78a58d0603598212c1 Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Mon, 14 Nov 2022 00:08:46 +0000 Subject: [PATCH] Add layout --- src/components/Layout.js | 3 +++ src/pages/_app.js | 13 ++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 src/components/Layout.js diff --git a/src/components/Layout.js b/src/components/Layout.js new file mode 100644 index 0000000..08d0d4c --- /dev/null +++ b/src/components/Layout.js @@ -0,0 +1,3 @@ +export default function Layout({ children }) { + return
{children}
; +} diff --git a/src/pages/_app.js b/src/pages/_app.js index 5744c81..e7cee23 100644 --- a/src/pages/_app.js +++ b/src/pages/_app.js @@ -2,14 +2,17 @@ import "../styles/globals.css"; import { NextUIProvider } from "@nextui-org/react"; import { SessionProvider } from "next-auth/react"; +import Layout from "src/components/Layout"; function MyApp({ Component, pageProps: { session, ...pageProps } }) { return ( - - - - - + + + + + + + ); }