Skip to content

Commit

Permalink
fix(bitpay): add insufficient funds warning message to payment modal
Browse files Browse the repository at this point in the history
  • Loading branch information
schnogz authored and jjBlockchain committed Sep 5, 2019
1 parent 2bb541a commit a598fe9
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,19 @@ const FirstStep = props => {
</Text>
)}
</FormGroup>
{isPayPro && invalid && (
<Text
size='13px'
color='error'
weight={500}
style={{ textAlign: 'center' }}
>
<FormattedMessage
id='modals.sendbtc.firststep.bitpay.insufficientfunds'
defaultMessage='Insufficient funds to complete BitPay transaction'
/>
</Text>
)}
<SubmitFormGroup>
<Button
type='submit'
Expand Down

0 comments on commit a598fe9

Please sign in to comment.