chore(editor): comment out onValidate function in CodeEditor component

This commit is contained in:
cfngc4594 2025-02-20 09:17:31 +08:00
parent 07e3707c3f
commit 75f1e656e6

View File

@ -86,11 +86,11 @@ export default function CodeEditor() {
beforeMount={(monaco) => {
shikiToMonaco(highlighter, monaco);
}}
onValidate={(markers) => {
markers.forEach((marker) =>
console.log("onValidate:", marker.message)
);
}}
// onValidate={(markers) => {
// markers.forEach((marker) =>
// console.log("onValidate:", marker.message)
// );
// }}
loading={<Skeleton className="h-full w-full" />}
/>
);