Skip to content

Commit

Permalink
fix: do not show 0 in withdraw alert
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Jan 28, 2025
1 parent 9e4bb9b commit 99c6b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/screens/wallet/WithdrawOnchainFunds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export default function WithdrawOnchainFunds() {
)}{" "}
will be sent minus onchain transaction fees. The exact amount
cannot be determined until the payment is made.
{balances.onchain.reserved && (
{balances.onchain.reserved > 0 && (
<>
{" "}
You have channels open and this withdrawal will deplete
Expand Down

0 comments on commit 99c6b31

Please sign in to comment.