Skip to content

Commit

Permalink
chore: remove rabby from WATCH_ASSET_SUPPORED_WALLETS
Browse files Browse the repository at this point in the history
  • Loading branch information
shoom3301 committed May 17, 2024
1 parent 353e329 commit 9c06e46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libs/wallet/src/api/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from './state/multiInjectedProvidersAtom'
import { ConnectionType, GnosisSafeInfo, WalletDetails, WalletInfo } from './types'

import { _WATCH_ASSET_SUPPORED_WALLETS } from '../constants'
import { WATCH_ASSET_SUPPORED_WALLETS } from '../constants'
import { useConnectionType } from '../web3-react/hooks/useConnectionType'
import { useIsSafeApp } from '../web3-react/hooks/useWalletMetadata'

Expand Down Expand Up @@ -58,5 +58,5 @@ export function useIsAssetWatchingSupported(): boolean {
if (!info || connectionType !== ConnectionType.INJECTED) return false

// TODO: check other wallets and extend the array
return _WATCH_ASSET_SUPPORED_WALLETS.includes(info.info.rdns)
return WATCH_ASSET_SUPPORED_WALLETS.includes(info.info.rdns)
}
2 changes: 1 addition & 1 deletion libs/wallet/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export const METAMASK_RDNS = 'io.metamask'

export const RABBY_RDNS = 'io.rabby'

export const _WATCH_ASSET_SUPPORED_WALLETS = [METAMASK_RDNS, RABBY_RDNS]
export const WATCH_ASSET_SUPPORED_WALLETS = [METAMASK_RDNS]

0 comments on commit 9c06e46

Please sign in to comment.