From 38e52f72e249f54fafbb1e8199f87d36aa9e5959 Mon Sep 17 00:00:00 2001 From: ymekuria Date: Mon, 23 Sep 2024 00:38:19 -0700 Subject: [PATCH] refactor(index.page.tsx): remove unnecessary console.log statements for cleaner code and improved readability --- .../zkapps/04-zkapp-browser-ui/ui/src/pages/index.page.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/index.page.tsx b/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/index.page.tsx index 5d118f7f2..e7f7d6208 100644 --- a/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/index.page.tsx +++ b/examples/zkapps/04-zkapp-browser-ui/ui/src/pages/index.page.tsx @@ -104,15 +104,11 @@ export default function Home() { useEffect(() => { const checkAccountExists = async () => { - console.log('inside', hasBeenSetup) - console.log('inside ae', accountExists) - if (hasBeenSetup && !accountExists) { for (;;) { setDisplayText('Checking if fee payer account exists...'); console.log('Checking if fee payer account exists...'); const res = await zkappWorkerClient!.fetchAccount(publicKeyBase58); - console.log('response', res) const accountExists = res.error == null; if (accountExists) { break;