Skip to content

Commit

Permalink
fix: wagmi config
Browse files Browse the repository at this point in the history
  • Loading branch information
Argeare5 committed Jan 13, 2024
1 parent e4977ce commit c995d1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/web3/utils/createWagmiConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ export function createWagmiConfig({
console.log(
'chainsArrayTotal',
Object.values(VIEM_CHAINS).filter(
(chain) => !!chainsArrayUnique.find((c) => chain.id !== c.id),
(chain) => !chainsArrayUnique.find((c) => chain.id === c.id)?.id,
),
);

return createConfig({
chains: [
chainsArray[0],
...chainsArrayUnique,
...Object.values(VIEM_CHAINS).filter((chain) =>
chainsArrayUnique.forEach((c) => chain.id !== c.id),
...Object.values(VIEM_CHAINS).filter(
(chain) => !chainsArrayUnique.find((c) => chain.id === c.id)?.id,
),
],
multiInjectedProviderDiscovery: false,
Expand Down

0 comments on commit c995d1f

Please sign in to comment.