diff --git a/apps/staking/app/faucet/AuthModule.tsx b/apps/staking/app/faucet/AuthModule.tsx index 937d2918..e522a783 100644 --- a/apps/staking/app/faucet/AuthModule.tsx +++ b/apps/staking/app/faucet/AuthModule.tsx @@ -173,10 +173,10 @@ export const AuthModule = () => { }; const ethAmount = useMemo(() => { - if (ethBalance) { + if (typeof ethBalance === 'bigint') { return parseFloat(formatEther(ethBalance)); } - return 0; + return null; }, [ethBalance]); useEffect(() => {