feat: 增价crisp会话客服
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
import dynamic from 'next/dynamic';
|
||||
|
||||
export default async function MainLayout({ children }: { children: React.ReactNode }) {
|
||||
return <>{children}</>;
|
||||
const CrispWithNoSSR = dynamic(() => import('@/components/Crisp/Crisp'));
|
||||
|
||||
return (
|
||||
<>
|
||||
<CrispWithNoSSR />
|
||||
{children}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user