diff --git a/packages/wallet-adapter/react/src/useStandardWalletAdapters.ts b/packages/wallet-adapter/react/src/useStandardWalletAdapters.ts index cc749245..c4776abb 100644 --- a/packages/wallet-adapter/react/src/useStandardWalletAdapters.ts +++ b/packages/wallet-adapter/react/src/useStandardWalletAdapters.ts @@ -17,7 +17,7 @@ export function useStandardWalletAdapters(adapters: Adapter[]): Adapter[] { on('unregister', (...wallets) => setStandardAdapters((standardAdapters) => standardAdapters.filter((standardAdapter) => - wallets.some((wallet) => wallet === standardAdapter.wallet) + wallets.some((wallet) => wallet !== standardAdapter.wallet) ) ) ),