Skip to content

Commit 734e3e2

Browse files
authored
dont dispatch new amount to redux immediately (#3355)
1 parent 8bd526f commit 734e3e2

File tree

1 file changed

+0
-1
lines changed
  • wormhole-connect/src/views/v2/Bridge/AmountInput

1 file changed

+0
-1
lines changed

wormhole-connect/src/views/v2/Bridge/AmountInput/index.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ const AmountInput = (props: Props) => {
224224

225225
const handleChange = useCallback(
226226
(newValue: string): void => {
227-
dispatch(setAmount(newValue));
228227
setAmountInput(newValue);
229228
},
230229
[dispatch],

0 commit comments

Comments
 (0)