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
2022-11-14 00:08:46 +00:00

20 lines
451 B
JavaScript

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 (
<Layout>
<SessionProvider session={session}>
<NextUIProvider>
<Component {...pageProps} />
</NextUIProvider>
</SessionProvider>
</Layout>
);
}
export default MyApp;