Skip to content

Commit 7af0d7e

Browse files
authored
minor logic fix (#69)
1 parent 8c66269 commit 7af0d7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dadjokes-onchain/frontend/src/components/WithdrawSection.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const WithdrawSection = ({ balance, handleWithdraw }) => {
22
return (
33
<>
4-
{((balance !== null && parseFloat(balance) > 0) || !balance) && (
4+
{balance !== null && parseFloat(balance) > 0 && (
55
<div className="text-2xl">
66
Balance: {balance} ETH
77
<button

0 commit comments

Comments
 (0)