We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c54e0e5 commit 3fe0bfcCopy full SHA for 3fe0bfc
src/components/YamlEditor/YamlEditor.tsx
@@ -59,7 +59,7 @@ export const YamlEditor = (props: YamlEditorProps) => {
59
);
60
61
const handleEditorChange = useCallback(
62
- (val: string | undefined, event: monaco.editor.IModelContentChangedEvent) => {
+ (val: string | undefined, event?: monaco.editor.IModelContentChangedEvent) => {
63
if (isEdit) {
64
setEditorContent(val ?? '');
65
}
0 commit comments