Skip to content

Commit

Permalink
remove unexpected error to fix recovery (#3570)
Browse files Browse the repository at this point in the history
  • Loading branch information
armaniferrante authored Apr 3, 2023
1 parent 35067b8 commit 3331112
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,7 @@ export const PrivateKeyInput = ({
return;
}

if (dehydrated.find((d) => d.publicKey === _publicKey)) {
setError("You can recover this private key from your wallets page.");
return;
} else if (wallets.find((w) => w.publicKey === _publicKey)) {
if (wallets.find((w) => w.publicKey === _publicKey)) {
setError("This wallet is already active and available in your account.");
return;
}
Expand Down

1 comment on commit 3331112

@vercel
Copy link

@vercel vercel bot commented on 3331112 Apr 3, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.