Skip to content

Commit 56f434a

Browse files
linter fix
1 parent 88b6b86 commit 56f434a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src-ts/lib/form/Form.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ const Form: <ValueType extends any, RequestType extends any>(props: FormProps<Va
5757
const [inputs, setInputs]: [Array<FormInputModel>, Dispatch<SetStateAction<Array<FormInputModel>>>] = useState<Array<FormInputModel>>(formGetInputFields(formDef.groups || []))
5858
const [isFormInvalid, setFormInvalid]: [boolean, Dispatch<boolean>] = useState<boolean>(inputs.filter(item => !!item.error).length > 0)
5959

60-
6160
useEffect(() => {
6261
if (!formRef.current?.elements) {
6362
return

0 commit comments

Comments
 (0)