mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
chore(editor): comment out onValidate function in CodeEditor component
This commit is contained in:
parent
07e3707c3f
commit
75f1e656e6
@ -86,11 +86,11 @@ export default function CodeEditor() {
|
|||||||
beforeMount={(monaco) => {
|
beforeMount={(monaco) => {
|
||||||
shikiToMonaco(highlighter, monaco);
|
shikiToMonaco(highlighter, monaco);
|
||||||
}}
|
}}
|
||||||
onValidate={(markers) => {
|
// onValidate={(markers) => {
|
||||||
markers.forEach((marker) =>
|
// markers.forEach((marker) =>
|
||||||
console.log("onValidate:", marker.message)
|
// console.log("onValidate:", marker.message)
|
||||||
);
|
// );
|
||||||
}}
|
// }}
|
||||||
loading={<Skeleton className="h-full w-full" />}
|
loading={<Skeleton className="h-full w-full" />}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user