Skip to content

Commit

Permalink
refactor(index.page.tsx): remove unnecessary console.log statements f…
Browse files Browse the repository at this point in the history
…or cleaner code and improved readability
  • Loading branch information
ymekuria committed Sep 23, 2024
1 parent 64af68a commit 38e52f7
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 38e52f7

Please sign in to comment.