fix(code-editor): update parameter name in onMount callback for clarity
This commit is contained in:
parent
8f6490a03d
commit
396ab19e2e
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user