Skip to content

Commit be45889

Browse files
committed
feat(neuron-ui): disable the submit button if the generated tx is null
1 parent aaec8c2 commit be45889

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/neuron-ui/src/components/Send

packages/neuron-ui/src/components/Send/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ const Send = ({
232232
<PrimaryButton
233233
type="submit"
234234
onClick={onSubmit(walletID)}
235-
disabled={sending || !isTransactionValid || !isAffordable}
235+
disabled={sending || !isTransactionValid || !isAffordable || !send.generatedTx}
236236
text={t('send.send')}
237237
/>
238238
)}

0 commit comments

Comments
 (0)