Skip to content

Commit

Permalink
🚸 Show 1st isInstalled method properly
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Sep 3, 2024
1 parent 1849ded commit e567958
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/connection-method-selection-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const connectionMethodMap = [
type: LikeCoinWalletConnectorMethodType.LikerId,
name: 'Email/Social',
tier: 1,
isInstalled: true,
isInstalled: false,
isMobileOk: true,
url: 'https://like.co/in',
description: 'connect_wallet_method_description_authcore',
Expand Down Expand Up @@ -189,9 +189,7 @@ export const ConnectionMethodSelectionDialog: FC<ConnectionMethodSelectionDialog
}
filteredMethods.push(method);
});
let hasShownInstalledWallet = !filteredMethods.some(
method => method.isInstalled
);
let hasShownInstalledWallet = false;
const getTier = (method: LikeCoinWalletConnectorMethod) => {
if (!hasShownInstalledWallet) {
if (method.isInstalled) {
Expand Down

0 comments on commit e567958

Please sign in to comment.