getting clientlayout to work
./app/dashboard/components/layout/ClientLayout.tsx:3:10
Type error: Module '"better-auth/react"' has no exported member 'BetterAuthProvider'.
1 | 'use client';
2 |
3 | import { BetterAuthProvider } from "better-auth/react";| ^ 4 | import { authClient } from '@/lib/auth-client'; 5 | import { Toaster } from 'react-hot-toast'; 6 | import Footer from '@/components/layout/Footer' Static worker exited with code: 1 and signal: null Error: Command "npm run build" exited with 1 Anyone can help me with this? honestly i'm not very proficient with coding, using an IDE mostly to get it to work. it works fine for the rest just this linter error when trying to deploy on vercel
5 Replies
better-auth
doenst provide a BetterAuthProvider
what shoudl i use instaed
Client | Better Auth
Better Auth client library for authentication.
👀
thanks man apprecaite it