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) => { 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" />}
/> />
); );