Skip to content

Commit

Permalink
fix: Rename socialLogin to socialSigner
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan committed Nov 1, 2023
1 parent 8a40409 commit 85139e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ describe('SocialSignerLogin', () => {
.with({
chainId: '1',
chainName: 'Ethereum',
disabledWallets: ['socialLogin'],
disabledWallets: ['socialSigner'],
})
.build()
const mockGnosisChain = chainBuilder()
Expand All @@ -169,7 +169,7 @@ describe('SocialSignerLogin', () => {

it('returns an empty array if social login is not enabled on any chain', () => {
const mockGoerliChain = chainBuilder()
.with({ chainId: '5', chainName: 'Goerli', disabledWallets: ['socialLogin'] })
.with({ chainId: '5', chainName: 'Goerli', disabledWallets: ['socialSigner'] })
.build()

const mockChains = [mockEthereumChain, mockGoerliChain]
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/wallets/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const CGW_NAMES: { [key in WALLET_KEYS]: string | undefined } = {
[WALLET_KEYS.WALLETCONNECT_V2]: 'walletConnect_v2',
[WALLET_KEYS.COINBASE]: 'coinbase',
[WALLET_KEYS.PAIRING]: 'safeMobile',
[WALLET_KEYS.SOCIAL]: 'socialLogin',
[WALLET_KEYS.SOCIAL]: 'socialSigner',
[WALLET_KEYS.LEDGER]: 'ledger',
[WALLET_KEYS.TREZOR]: 'trezor',
[WALLET_KEYS.KEYSTONE]: 'keystone',
Expand Down

0 comments on commit 85139e9

Please sign in to comment.