We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c66269 commit 7af0d7eCopy full SHA for 7af0d7e
dadjokes-onchain/frontend/src/components/WithdrawSection.js
@@ -1,7 +1,7 @@
1
const WithdrawSection = ({ balance, handleWithdraw }) => {
2
return (
3
<>
4
- {((balance !== null && parseFloat(balance) > 0) || !balance) && (
+ {balance !== null && parseFloat(balance) > 0 && (
5
<div className="text-2xl">
6
Balance: {balance} ETH
7
<button
0 commit comments