mirror of
https://github.com/massbug/judge4c.git
synced 2026-10-15 15:17:31 +00:00
fix(code-editor): update parameter name in onMount callback for clarity
This commit is contained in:
@@ -109,7 +109,7 @@ export default function CodeEditor() {
|
|||||||
beforeMount={(monaco) => {
|
beforeMount={(monaco) => {
|
||||||
shikiToMonaco(highlighter, monaco);
|
shikiToMonaco(highlighter, monaco);
|
||||||
}}
|
}}
|
||||||
onMount={(editor, monaco) => {
|
onMount={(editor, _monaco) => {
|
||||||
setEditor(editor);
|
setEditor(editor);
|
||||||
}}
|
}}
|
||||||
// onValidate={(markers) => {
|
// onValidate={(markers) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user