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

17 lines
379 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-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-13 20:20:16 +00:00
<SessionProvider session={session}>
<NextUIProvider>
<Component {...pageProps} />
</NextUIProvider>
</SessionProvider>
2022-11-13 19:37:29 +00:00
);
}
export default MyApp;