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 271e840 commit 6ccb1e0Copy full SHA for 6ccb1e0
1 file changed
src/components/form/fields/ForcedValueField.tsx
@@ -37,8 +37,7 @@ export function ForcedValueField({
37
38
useEffect(() => {
39
setValue(name, value);
40
- // oxlint-disable-next-line react-hooks/exhaustive-deps
41
- }, []);
+ }, [name, value, setValue]);
42
43
const isHiddenValue = !forcedValueDescription && !statement?.title;
44
0 commit comments