Skip to content

Commit

Permalink
display fee under balance
Browse files Browse the repository at this point in the history
  • Loading branch information
steezeburger committed Oct 29, 2024
1 parent 5892e4a commit 7d90feb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions web/src/components/WithdrawCard/WithdrawCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,11 @@ export default function WithdrawCard(): React.ReactElement {
Balance: <i className="fas fa-spinner fa-pulse" />
</p>
)}
{withdrawFeeDisplay && (
<div className="mt-2 has-text-grey-light help">
Withdrawal fee: {withdrawFeeDisplay}
</div>
)}
</div>
)}
</div>
Expand Down Expand Up @@ -341,11 +346,6 @@ export default function WithdrawCard(): React.ReactElement {
Amount must be a number greater than 0
</div>
)}
{withdrawFeeDisplay && (
<div className="help has-text-grey-light mt-2">
Withdrawal fee: {withdrawFeeDisplay}
</div>
)}
</div>

<div className="card-footer mt-4">
Expand Down

0 comments on commit 7d90feb

Please sign in to comment.