From f15ec5a2523a90700fb36ca69ad0b43fadae579a Mon Sep 17 00:00:00 2001 From: lza_menace Date: Tue, 10 Jan 2023 00:54:15 -0800 Subject: [PATCH] getting it working --- src/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/index.js b/src/index.js index 79cf7ff..d5b5aa1 100644 --- a/src/index.js +++ b/src/index.js @@ -40,10 +40,10 @@ const wagmiClient = createClient({ let chainId; let contractAddress; -if (process.env.CHAIN == '5') { +if (process.env.CHAIN == 5) { chainId = 5; - contractAddress = '0x31205d753eC2784160F70E6E6177581c7721bD0E'; -} else if (process.env.CHAIN == '1') { + contractAddress = '0x5a61b50dcd3d394e91794847c55b05f92d5a8e7c'; +} else if (process.env.CHAIN == 1) { chainId = 1; contractAddress = ''; } else { @@ -54,10 +54,10 @@ if (process.env.CHAIN == '5') { ReactDOM.createRoot(document.getElementById("root")).render( - +
- +