From 56b6981214ae4f781b533cbd12c147b9e986dda1 Mon Sep 17 00:00:00 2001 From: Jayesh Bhole <111138421+jayeshbhole-rp@users.noreply.github.com> Date: Mon, 6 Jan 2025 20:19:38 +0530 Subject: [PATCH] fix: wagmi chains --- packages/react/CHANGELOG.md | 6 ++++++ packages/react/package.json | 2 +- packages/react/src/providers/EVMProvider.tsx | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index b633ddb..742a2a0 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @tangled3/react +## 1.16.12 + +### Patch Changes + +- fix wagmi + ## 1.16.11 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index b098592..2c083ed 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@tangled3/react", "private": false, - "version": "1.16.11", + "version": "1.16.12", "type": "module", "license": "MIT", "main": "./src/index.ts", diff --git a/packages/react/src/providers/EVMProvider.tsx b/packages/react/src/providers/EVMProvider.tsx index cbe013d..893d013 100644 --- a/packages/react/src/providers/EVMProvider.tsx +++ b/packages/react/src/providers/EVMProvider.tsx @@ -17,7 +17,7 @@ const EVMProvider = ({ const [wagmiConfig] = useState(() => { return createConfig({ - chains: props.chains as [EVMChain, ...EVMChain[]], + chains: filteredChains as [EVMChain, ...EVMChain[]], transports: filteredChains.reduce( (acc, chain) => { acc[chain.id] = http();