Skip to content

Commit ed1a0ab

Browse files
authored
[FIX] Inputs onChange callback bug (#4804)
* [FIX] Inputs onChange callback bug * Remove input useRef from useEffect dependencies array
1 parent c13d4b0 commit ed1a0ab

File tree

1 file changed

+1
-1
lines changed
  • src/frontend/components/UI/TextInputField

1 file changed

+1
-1
lines changed

src/frontend/components/UI/TextInputField/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const TextInputField = ({
4545
}
4646
}
4747
return
48-
}, [input])
48+
}, [onChange])
4949

5050
return (
5151
<div

0 commit comments

Comments
 (0)