refactor: remove next-auth SessionProvider wrapper
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
"use client"
|
"use client"
|
||||||
|
|
||||||
import { SessionProvider } from "next-auth/react"
|
|
||||||
import { ReactNode } from "react"
|
import { ReactNode } from "react"
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
@@ -8,5 +7,5 @@ interface Props {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default function AuthSessionProvider({ children }: Props) {
|
export default function AuthSessionProvider({ children }: Props) {
|
||||||
return <SessionProvider>{children}</SessionProvider>
|
return <>{children}</>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user