mirror of https://github.com/buster-so/buster.git
13 lines
339 B
TypeScript
13 lines
339 B
TypeScript
import dynamic from 'next/dynamic';
|
|
import { ReportEditorSkeleton } from './ReportEditorSkeleton';
|
|
|
|
export const DynamicReportEditor = dynamic(
|
|
() => import('@/components/ui/report/ReportEditor').then((mod) => mod.ReportEditor),
|
|
{
|
|
ssr: false,
|
|
loading: () => <ReportEditorSkeleton />
|
|
}
|
|
);
|
|
|
|
export default DynamicReportEditor;
|