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 bd97ae5 commit e7ba448Copy full SHA for e7ba448
src/features/editor/TextEditor.tsx
@@ -82,7 +82,7 @@ const TextEditor = () => {
82
value={contents}
83
options={editorOptions}
84
onMount={handleMount}
85
- onValidate={errors => setError(errors[0]?.message)}
+ onValidate={errors => setError(errors[0]?.message || "")}
86
onChange={contents => setContents({ contents, skipUpdate: true })}
87
loading={<LoadingOverlay visible />}
88
/>
0 commit comments