This repository has been archived on 2023-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
imageify/src/pages/_app.js

20 lines
451 B
JavaScript
Raw Normal View History

2022-11-13 19:37:29 +00:00
import "../styles/globals.css";
import { NextUIProvider } from "@nextui-org/react";
2022-11-13 20:20:16 +00:00
import { SessionProvider } from "next-auth/react";
2022-11-14 00:08:46 +00:00
import Layout from "src/components/Layout";
2022-11-13 19:37:29 +00:00
2022-11-13 20:20:16 +00:00
function MyApp({ Component, pageProps: { session, ...pageProps } }) {
2022-11-13 19:37:29 +00:00
return (
2022-11-14 00:08:46 +00:00
<Layout>
<SessionProvider session={session}>
<NextUIProvider>
<Component {...pageProps} />
</NextUIProvider>
</SessionProvider>
</Layout>
2022-11-13 19:37:29 +00:00
);
}
export default MyApp;