Skip to content

Conversation

@DovAzencot
Copy link

Redirect to onboard when the user has no wallets connected and want to sign a message instead of just showing empty list

…o sign a message instead of just showing empty list
Comment on lines +117 to +119
if (this.isSecondaryOnboarding
// In the case we don't have wallets while signing a message, we close the hub
&& (this.originalRouteName !== RequestType.SIGN_MESSAGE || this.hasWallets)) {
Copy link
Member

Choose a reason for hiding this comment

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

I don't understand this condition and the comment. The comment talks about not having wallets, but the check is for having wallets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants