diff --git a/src/config/wagmi.ts b/src/config/wagmi.ts index ec55a98..8e99fc3 100644 --- a/src/config/wagmi.ts +++ b/src/config/wagmi.ts @@ -1,14 +1,13 @@ -import { configureChains } from "@wagmi/core"; -import { alchemyProvider } from "@wagmi/core/providers/alchemy"; -import { publicProvider } from "@wagmi/core/providers/public"; -import { mainnet } from "wagmi"; +import { configureChains, mainnet } from "wagmi"; import { goerli } from "wagmi/chains"; +import { alchemyProvider } from "wagmi/providers/alchemy"; +import { publicProvider } from "wagmi/providers/public"; import config from "./index"; const chainArray = config.alchemyChain === "goerli" ? goerli : mainnet; export const { chains, publicClient } = configureChains( - [chainArray], - [alchemyProvider({ apiKey: config.alchemyApiKey }), publicProvider()] + [chainArray], + [alchemyProvider({ apiKey: config.alchemyApiKey }), publicProvider()], );