Skip to content

Commit

Permalink
fix: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
devchenyan committed Jan 11, 2025
1 parent 63ced4a commit d68e023
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/neuron-ui/src/components/SignAndVerify/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,11 @@ const SignAndVerify = () => {
return t(err.message, err.i18n)
}
}
if (wallet?.addresses && !wallet.addresses.find(item => item.address === address)) {
return t('sign-and-verify.address-not-found')
}
return undefined
}, [t, address, isMainnet])
}, [t, address, isMainnet, wallet.addresses])

return (
<div>
Expand Down

1 comment on commit d68e023

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packaging for test is done in 12724757170

Please sign in to comment.