Skip to content

Commit 5aa2c09

Browse files
EdouardBougonjxom
andauthored
fix: phantom wallet trying to make itself look like MetaMask (#4525)
* fix: phantom wallet trying to make itself look like MetaMask * Update short-icons-leave.md --------- Co-authored-by: jxom <[email protected]>
1 parent 639952c commit 5aa2c09

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/short-icons-leave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@wagmi/connectors": patch
3+
---
4+
5+
Added Phantom flag to Injected Connector.

packages/core/src/connectors/injected.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,7 @@ const targetMap = {
568568
'isOneInchIOSWallet',
569569
'isOneInchAndroidWallet',
570570
'isOpera',
571+
'isPhantom',
571572
'isPortal',
572573
'isRabby',
573574
'isTokenPocket',

0 commit comments

Comments
 (0)