fix: Update Tailwind CSS and Better Auth imports for frontend build
- Update Tailwind CSS v4 PostCSS configuration - Fix Better Auth React imports (better-auth/react) - Update all page components to use Better Auth useSession - Add @tailwindcss/postcss to dependencies - Remove SessionProvider from layout (Better Auth handles sessions) - Fix globals.css for Tailwind v4 compatibility - Update page components with correct session state checking This addresses build failures related to: - Tailwind CSS v4 PostCSS plugin compatibility - Better Auth React client import paths - NextAuth v5 to Better Auth migration
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
'use client';
|
||||
|
||||
import { SessionProvider } from 'next-auth/react';
|
||||
import './globals.css';
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -11,9 +8,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>
|
||||
<SessionProvider>
|
||||
{children}
|
||||
</SessionProvider>
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user