refactor(auth): remove unused SessionProvider wrapper
Remove the passthrough AuthSessionProvider component and its usage in layout. better-auth hooks work without a provider wrapper.
This commit is contained in:
1 parent
c6017b2f78
commit
cfa93da149
2 files changed
+20
-34
No files matched your search
@@ -1,11 +0,0 @@
|
||||
"use client"
|
||||
|
||||
import { ReactNode } from "react"
|
||||
|
||||
interface Props {
|
||||
children: ReactNode
|
||||
}
|
||||
|
||||
export default function AuthSessionProvider({ children }: Props) {
|
||||
return <>{children}</>
|
||||
}
|
||||
Reference in new issue
Block a user