import dynamic from 'next/dynamic';

export default async function MainLayout({ children }: { children: React.ReactNode }) {
  const CrispWithNoSSR = dynamic(() => import('@/components/Crisp/Crisp'));

  return (
    <>
      <CrispWithNoSSR />
      {children}
    </>
  );
}
