|
@ -49,11 +49,6 @@ class PayForm extends Component { |
|
|
{showPayLoadingScreen && <LoadingBolt />} |
|
|
{showPayLoadingScreen && <LoadingBolt />} |
|
|
|
|
|
|
|
|
<section className={`${styles.amountContainer} ${isLn ? styles.ln : ''} ${showErrors.amount && styles.error}`}> |
|
|
<section className={`${styles.amountContainer} ${isLn ? styles.ln : ''} ${showErrors.amount && styles.error}`}> |
|
|
<section className={`${styles.amountError} ${showErrors.amount && styles.active}`}> |
|
|
|
|
|
{showErrors.amount && |
|
|
|
|
|
<span>{errors.amount}</span> |
|
|
|
|
|
} |
|
|
|
|
|
</section> |
|
|
|
|
|
<label htmlFor='amount'> |
|
|
<label htmlFor='amount'> |
|
|
<CurrencyIcon currency={currency} crypto={crypto} /> |
|
|
<CurrencyIcon currency={currency} crypto={crypto} /> |
|
|
</label> |
|
|
</label> |
|
@ -75,6 +70,11 @@ class PayForm extends Component { |
|
|
readOnly={isLn} |
|
|
readOnly={isLn} |
|
|
/> |
|
|
/> |
|
|
</section> |
|
|
</section> |
|
|
|
|
|
<section className={`${styles.errorMessage} ${showErrors.amount && styles.active}`}> |
|
|
|
|
|
{showErrors.amount && |
|
|
|
|
|
<span>{errors.amount}</span> |
|
|
|
|
|
} |
|
|
|
|
|
</section> |
|
|
<div className={styles.inputContainer}> |
|
|
<div className={styles.inputContainer}> |
|
|
<div className={styles.info}> |
|
|
<div className={styles.info}> |
|
|
<span>{inputCaption}</span> |
|
|
<span>{inputCaption}</span> |
|
@ -103,7 +103,7 @@ class PayForm extends Component { |
|
|
id='paymentRequest' |
|
|
id='paymentRequest' |
|
|
/> |
|
|
/> |
|
|
</section> |
|
|
</section> |
|
|
<section className={`${styles.payInputError} ${showErrors.payInput && styles.active}`}> |
|
|
<section className={`${styles.errorMessage} ${showErrors.payInput && styles.active}`}> |
|
|
{showErrors.payInput && |
|
|
{showErrors.payInput && |
|
|
<span>{errors.payInput}</span> |
|
|
<span>{errors.payInput}</span> |
|
|
} |
|
|
} |
|
|