Skip to content

Commit

Permalink
fix: phantom wallet trying to make itself look like MetaMask (#4525)
Browse files Browse the repository at this point in the history
* fix: phantom wallet trying to make itself look like MetaMask

* Update short-icons-leave.md

---------

Co-authored-by: jxom <[email protected]>
  • Loading branch information
EdouardBougon and jxom authored Feb 1, 2025
1 parent 639952c commit 5aa2c09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/short-icons-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/connectors": patch
---

Added Phantom flag to Injected Connector.
1 change: 1 addition & 0 deletions packages/core/src/connectors/injected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ const targetMap = {
'isOneInchIOSWallet',
'isOneInchAndroidWallet',
'isOpera',
'isPhantom',
'isPortal',
'isRabby',
'isTokenPocket',
Expand Down

0 comments on commit 5aa2c09

Please sign in to comment.