Wagmi wallet -error - Create-Client

BLUR-CLONE-NFT MARKETPLACE

How do i fix this Error ?

dependencies": {

"@web3uikit/core": "^1.0.5",

"@web3uikit/icons": "^1.0.5",

"axios": "^1.4.0",

"next": "13.4.3",

"react": "18.2.0",

"react-dom": "18.2.0",

"viem": "^0.3.35",

"wagmi": "^1.0.5"

import { createClient, configureChains, mainnet, WagmiConfig } from “wagmi”;

import { publicProvider } from “wagmi/providers/public”;

import { InjectedConnector } from “wagmi/connectors/injected”;

import { WalletConnectConnector } from “wagmi/connectors/walletConnect”;

const { chains, provider } = configureChains([mainnet], [publicProvider()]);

const client = createClient({

connectors: [

new InjectedConnector({ chains }),

new WalletConnectConnector({

  chains,

  options: {

    projectId: "...",

  },

}),

],

provider,

});

export default function App({ Component, pageProps }) {

return (

<WagmiConfig client={client}>

  <Component {...pageProps} />

</WagmiConfig>

);
IS IT Possible to get the LATEST REPO of NFT-BLUR-Marketplace
}

previous error is fixed

import { createConfig, configureChains, mainnet, WagmiConfig } from “wagmi”;
import { publicProvider } from “wagmi/providers/public”;
import { InjectedConnector } from “wagmi/connectors/injected”;
import { WalletConnectConnector } from “wagmi/connectors/walletConnect”;

const { chains, provider } = configureChains([mainnet], [publicProvider()]);

const client = createConfig({
connectors: [
new InjectedConnector({ chains }),
new WalletConnectConnector({
chains,
options: {
projectId: “…”,
},
}),
],
provider,
});

export default function App({ Component, pageProps }) {
return (

<Component {…pageProps} />

);
}

Closing this post to avoid duplicate chats, as you have an open ticket on Discord.