Skip to content

Commit

Permalink
feat(neuron-ui): disable the submit button if the generated tx is null
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Oct 31, 2019
1 parent aaec8c2 commit be45889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/neuron-ui/src/components/Send/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ const Send = ({
<PrimaryButton
type="submit"
onClick={onSubmit(walletID)}
disabled={sending || !isTransactionValid || !isAffordable}
disabled={sending || !isTransactionValid || !isAffordable || !send.generatedTx}
text={t('send.send')}
/>
)}
Expand Down

0 comments on commit be45889

Please sign in to comment.