Skip to content

Commit

Permalink
Update useDAppsConnected.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljscript committed Aug 2, 2024
1 parent 89880cb commit a5fd70b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export const useDAppsConnected = (
}

const selectWalletConnectedOrigins = (connections: DappConnection[], walletId: string, chainId: number) => {
const currentWalletConnections = connections.filter((c) => c.walletId === walletId && c.networkId === chainId)
const currentWalletConnections = connections.filter((c) => c.walletId === walletId && c.chainId === chainId)
return currentWalletConnections.map((c) => c.dappOrigin)
}

0 comments on commit a5fd70b

Please sign in to comment.