CoastalCommitsPastes/src/app/providers.tsx
2022-12-18 01:14:46 -08:00

14 lines
340 B
TypeScript

"use client"
import * as RadixTooltip from "@radix-ui/react-tooltip"
import { SessionProvider } from "next-auth/react"
export function Providers({ children }: { children: React.ReactNode }) {
return (
<SessionProvider>
<RadixTooltip.Provider delayDuration={200}>
{children}
</RadixTooltip.Provider>
</SessionProvider>
)
}