Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-vahn committed May 8, 2024
1 parent 7adaa1a commit 635ab6f
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,10 @@ function App() {
return;
}

switch (wallet) {
case 'metamask':
WebApp.openLink('https://metamask.app.link/');
break;
case 'trust':
WebApp.openLink('https://link.trustwallet.com/');
break;
default:
console.error('Wallet not recognized.');
return;
if (wallet === 'metamask') {
WebApp.openLink('https://metamask.app.link/');
} else if (wallet === 'trust') {
WebApp.openLink('https://link.trustwallet.com/');
}

axios
Expand Down

0 comments on commit 635ab6f

Please sign in to comment.