mirror of
https://github.com/massbug/judge4c.git
synced 2026-10-15 15:17:31 +00:00
feat(code-editor): add loading skeleton for dynamic editor component
This commit is contained in:
@@ -23,7 +23,10 @@ const DynamicEditor = dynamic(
|
||||
|
||||
return Editor;
|
||||
},
|
||||
{ ssr: false }
|
||||
{
|
||||
ssr: false,
|
||||
loading: () => <Skeleton className="h-full w-full" />,
|
||||
}
|
||||
);
|
||||
|
||||
export default function CodeEditor() {
|
||||
|
||||
Reference in New Issue
Block a user