// app/components/ClientCookieConsentBanner.tsx

"use client";

import dynamic from 'next/dynamic';

const CookieConsentBanner = dynamic(() => import('./CookieConsentBanner'), {ssr: false});

const ClientCookieConsentBanner = ({onConsentChange}: { onConsentChange: (consent: string) => void }) => {
    return <CookieConsentBanner onConsentChange={onConsentChange}/>;
};

export default ClientCookieConsentBanner;