1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-05 22:00:59 +00:00

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

Fix/Disable verify btn on invalid address input
This commit is contained in:
Vladimir Volek 2019-03-04 14:11:58 +01:00 committed by GitHub
commit 1b8477bcfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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