When unregistering a wallet, it seems to remove all wallets except for the one I tried to unregister in useStandardWalletAdapters. I think the filter is filtering for only the wallet I'm trying to unregister instead filtering for all the wallets but the one I'm trying to unregister.
In particular at
|
wallets.some((wallet) => wallet === standardAdapter.wallet) |
should it be wallets.some((wallet) => wallet !== standardAdapter.wallet)?
(Aware that this isn't supposed to be used by dApps necessarily, but wanted to use it for some in-team testing purposes)