Fix endless loop in Select component

This commit is contained in:
Eduard Heimbuch
2021-06-01 15:20:25 +02:00
parent 1df1038b6e
commit 8ed2c1509f

View File

@@ -91,7 +91,7 @@ const InnerSelect: FC<FieldProps<BaseProps, HTMLSelectElement, string>> = ({
}
}
}
}, [field, value, name, props.onChange, props.innerRef]);
}, [field, value, name]);
const loadingClass = loading ? "is-loading" : "";