13 lines
413 B
TypeScript
13 lines
413 B
TypeScript
// 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; |