Changed to use the right handler (#3806)
This commit is contained in:
parent
a407aa5c8e
commit
465b3c4a26
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ export const FileUploadForm = ({
|
||||||
code={fileUpload.value}
|
code={fileUpload.value}
|
||||||
language={language}
|
language={language}
|
||||||
height="128px"
|
height="128px"
|
||||||
onChange={(value) => setFileUpload({ ...fileUpload, value })}
|
onChange={handleTextOrDataChange}
|
||||||
isReadOnly={!rest.allowEditingUploadedText}
|
isReadOnly={!rest.allowEditingUploadedText}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue