Revert "feat: replace next-auth with quick auth"

This reverts commit 86029b2bd9.
This commit is contained in:
Shreyaschorge
2025-07-16 17:32:21 +05:30
parent c786cabe84
commit 89f82253ca
14 changed files with 792 additions and 418 deletions

View File

@@ -1,5 +1,6 @@
import type { Metadata } from "next";
import { getSession } from "~/auth"
import "~/app/globals.css";
import { Providers } from "~/app/providers";
import { APP_NAME, APP_DESCRIPTION } from "~/lib/constants";
@@ -14,10 +15,12 @@ export default async function RootLayout({
}: Readonly<{
children: React.ReactNode;
}>) {
const session = await getSession()
return (
<html lang="en">
<body>
<Providers>{children}</Providers>
<Providers session={session}>{children}</Providers>
</body>
</html>
);