Skip to content

Commit

Permalink
Fix faucet
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoXD committed Feb 26, 2024
1 parent 97a2b89 commit f74e194
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import 'regenerator-runtime/runtime';
const GAME_FACTORY_ADDR = "0x746eD964A6B0ECF7Ab765Dfd831Bf4a715Ac33af";

async function fundWallet(walletAddress: string): Promise<boolean> {
console.info("Funding wallet");
const response = await fetch('https://faucet.testnet.inco.org/api/get-faucet', {
method: 'POST',
headers: {
Expand Down Expand Up @@ -102,7 +103,7 @@ function App() {
}
});
})
}, [w0])
}, [w0, authenticated])


const walletAddress = truncateEthAddress(user?.wallet?.address || "");
Expand Down

0 comments on commit f74e194

Please sign in to comment.