Merge pull request #421 from trezor/fix/disable-verify-btn

Fix/Disable verify btn on invalid address input
pull/424/head
Vladimir Volek 5 years ago committed by GitHub
commit 1b8477bcfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -197,6 +197,7 @@ class SignVerify extends Component<Props> {
<FormattedMessage {...l10nCommonMessages.TR_CLEAR} /> <FormattedMessage {...l10nCommonMessages.TR_CLEAR} />
</StyledButton> </StyledButton>
<StyledButton <StyledButton
isDisabled={verifyAddressError}
onClick={() => { onClick={() => {
if (errors.length <= 0) { if (errors.length <= 0) {
signVerifyActions.verify( signVerifyActions.verify(

Loading…
Cancel
Save