Skip to content

Commit

Permalink
minor logic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rgottleber committed Jun 18, 2024
1 parent d933011 commit b968e33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const WithdrawSection = ({ balance, handleWithdraw }) => {
return (
<>
{((balance !== null && parseFloat(balance) > 0) || !balance) && (
{balance !== null && parseFloat(balance) > 0 && (
<div className="text-2xl">
Balance: {balance} ETH
<button
Expand Down

0 comments on commit b968e33

Please sign in to comment.