1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-27 18:58:08 +00:00

fix isDisabled prop for verify button

This commit is contained in:
slowbackspace 2019-03-25 10:29:48 +01:00
parent bf8acd1679
commit 747a02b7a6

View File

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