fix(client): fix onchange mistake (#2075)

This commit is contained in:
Junyi 2023-06-19 11:34:08 +07:00 committed by GitHub
parent ebdbc2dae3
commit a3805e3b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,6 @@ export const Json = React.forwardRef<typeof Input.TextArea, JSONTextAreaProps>(
field.setFeedback({});
onChange?.(v);
} catch (err) {
onChange?.(ev);
field.setFeedback({
type: 'error',
code: 'JSONSyntaxError',