Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect to onboard when the user has no wallets #563

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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