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 committed Sep 4, 2019
1 parent f158a4b commit c4f6558
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 c4f6558

Please sign in to comment.