From 59b0d5ac1659f35005a40a98cc3f33363479e6ff Mon Sep 17 00:00:00 2001 From: Shain Date: Mon, 15 Mar 2021 13:10:49 -0700 Subject: [PATCH] Use transactions, rather than methods, as a comparison response in developers --- developers/src/components/HomePage.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/developers/src/components/HomePage.js b/developers/src/components/HomePage.js index e60f3b1..fb84ac9 100644 --- a/developers/src/components/HomePage.js +++ b/developers/src/components/HomePage.js @@ -110,9 +110,7 @@ export const HomePage = () => { contracts: ['0x7d66cde53cc0a169cae32712fc48934e610aef14'], }) const [demo2Json, setDemo2Json] = React.useState({ - // chain: 'ethereum', - // network: 'mainnet', - contract: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', + network: 'mainnet', limit: 5, }) const [demo3Json, setDemo3Json] = React.useState({ @@ -209,7 +207,7 @@ export const HomePage = () => { Try it now!
- {JSON.stringify(req1Result) === '{}' ? : } + {JSON.stringify(req1Result) === '{}' ? : } @@ -245,7 +243,7 @@ export const HomePage = () => { />