1
0
Fork 0

feat: initial commit

- `pnpm create t3-app@latest`
This commit is contained in:
Vojtěch Mareš 2023-06-25 09:33:59 +02:00
commit e06ecdf652
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
20 changed files with 3524 additions and 0 deletions

17
src/pages/_app.tsx Normal file
View file

@ -0,0 +1,17 @@
import { type Session } from "next-auth";
import { SessionProvider } from "next-auth/react";
import { type AppType } from "next/app";
import "~/styles/globals.css";
const MyApp: AppType<{ session: Session | null }> = ({
Component,
pageProps: { session, ...pageProps },
}) => {
return (
<SessionProvider session={session}>
<Component {...pageProps} />
</SessionProvider>
);
};
export default MyApp;