Skip to content

Commit

Permalink
Merge pull request #123 from EveripediaNetwork/fix-remove-metamask-co…
Browse files Browse the repository at this point in the history
…nnector

remove metamask connector
  • Loading branch information
Royal-lobster authored Jan 2, 2025
2 parents 996c95c + 945a5ba commit a6c3b84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-ants-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@everipedia/iq-login": patch
---

Removes metamask connector
8 changes: 2 additions & 6 deletions src/lib/integrations/wagmi.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
createStorage,
http,
} from "wagmi";
import { injected, metaMask } from "wagmi/connectors";
import { injected } from "wagmi/connectors";
import { iqTestnet } from "../data/iq-testnet";

const chainId = Number(process.env.NEXT_PUBLIC_CHAIN_ID) as number;
Expand Down Expand Up @@ -69,11 +69,7 @@ export function getWagmiConfig(): Config {
transports: {
[chain.id]: http(),
},
connectors: [
Web3AuthConnector({ web3AuthInstance }),
injected(),
metaMask(),
],
connectors: [Web3AuthConnector({ web3AuthInstance }), injected()],
storage: createStorage({
storage: cookieStorage,
}),
Expand Down

0 comments on commit a6c3b84

Please sign in to comment.