// components/Providers.tsx
'use client'

import { SessionProvider } from 'next-auth/react'

export function Providers({ children }: { children: React.ReactNode }) {
  return (
  <SessionProvider refetchInterval={0} refetchOnWindowFocus={false}>
    {children}
  </SessionProvider>
  )
  
}
