From 1cc6e8ecfdc5b9e326fa6c8fcee9900b0b8e72f3 Mon Sep 17 00:00:00 2001 From: Theo Date: Fri, 22 Mar 2024 21:16:41 +0100 Subject: [PATCH] Temp workaround --- src/App.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 731d082..bc2d428 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -89,7 +89,8 @@ function App() { w0?.getEthersProvider().then(async (provider) => { const balance = await getBalance(provider); if (!isFunded && balance?.lte(100000000000000)) { - const funded = await fundWallet(w0.address); + await fundWallet(w0.address); + /* if (funded) { setIsFunded(true); } else { @@ -98,9 +99,9 @@ function App() { message: "Could not fund wallet", }); } - } else { - setIsFunded(true); + */ } + setIsFunded(true); }); }) }, [w0])