Skip to content

Commit

Permalink
Merge pull request #75 from lidofinance/develop
Browse files Browse the repository at this point in the history
Develop to Main
  • Loading branch information
vtrush88 authored Jul 10, 2023
2 parents 3a5dec0 + cbcf5fc commit 4f5debc
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 391 deletions.
6 changes: 4 additions & 2 deletions features/wagmi/appWagmiProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ import dynamics from 'config/dynamics';
import { backendRPC, getBackendRPCPath } from 'config';

const wagmiChainsArray = Object.values(wagmiChains);
const supportedChains = wagmiChainsArray.filter((chain) =>
dynamics.supportedChains.includes(chain.id),
const supportedChains = wagmiChainsArray.filter(
(chain) =>
// Temporary wagmi fix, need to hardcode it to not affect non-wagmi wallets
dynamics.supportedChains.includes(chain.id) || chain.id === 80001,
);
const defaultChain = wagmiChainsArray.find(
(chain) => chain.id === dynamics.defaultChain,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"react-dom": "^18.2.0",
"react-hook-form": "^7.43.9",
"react-is": "^18.2.0",
"reef-knot": "^1.4.1",
"reef-knot": "^1.4.5",
"styled-components": "^5.3.5",
"swiper": "^9.2.4",
"swr": "^2.1.5",
Expand Down
Loading

0 comments on commit 4f5debc

Please sign in to comment.