'use client'; // Add this at the top to mark as Client Component import { PrivyProvider } from '@privy-io/react-auth'; import { ReactNode } from 'react'; import { toSolanaWalletConnectors } from '@privy-io/react-auth/solana'; export function Providers({ children }: { children: ReactNode }) { const solanaConnectors = toSolanaWalletConnectors({ shouldAutoConnect: false, }); return ( {children} ); }