diff --git a/dapp/src/components/Modals/Staking/StakeForm.tsx b/dapp/src/components/Modals/Staking/StakeForm.tsx index 4055fedb5..c5e6af4f9 100644 --- a/dapp/src/components/Modals/Staking/StakeForm.tsx +++ b/dapp/src/components/Modals/Staking/StakeForm.tsx @@ -20,10 +20,10 @@ function StakeForm({ goNext }: ModalStep) { const handleSubmitForm = useCallback( (values: TokenAmountFormValues) => { - if (values.amount) { - seTokenAmount({ amount: values.amount, currencyType: CURRENCY_TYPE }) - goNext() - } + if (!values.amount) return + + seTokenAmount({ amount: values.amount, currencyType: CURRENCY_TYPE }) + goNext() }, [goNext, seTokenAmount], )