"use client";

import React from 'react';
import dynamic from 'next/dynamic';

// On importe les Providers reellement en mode Client-Only (pas de SSR)
const Providers = dynamic(
  () => import('./Providers').then((mod) => mod.Providers),
  { ssr: false }
);

export function DynamicProviders({ children }: { children: React.ReactNode }) {
  return <Providers>{children}</Providers>;
}
