Skip to content

Commit

Permalink
fix: useWallets
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaccoSordo committed Sep 11, 2024
1 parent b2e64cf commit 1de5ff5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const PairingAlert: React.FC<React.PropsWithChildren<AlertConfig>> = (props) =>
p2pSyncCode: p2pPayload,
postmessageSyncCode: postPayload
} = props.pairingPayload!
const wallets = useWallets()
const wallets = useWallets(props.pairingPayload?.networkType, props.featuredWallets)
const [
wallet,
isMobile,
Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-ui/src/ui/alert/hooks/useWallets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const useWallets = (networkType?: NetworkType, featuredWallets?: string[]) => {
}
}),
...webList.map((wallet) => {
const link = networkType ?? NetworkType.MAINNET
const link = wallet.links[networkType ?? NetworkType.MAINNET]
return {
id: wallet.key,
key: wallet.key,
Expand Down

0 comments on commit 1de5ff5

Please sign in to comment.