Skip to content

Commit 207716f

Browse files
committed
fix(web): show correct available amount when withdrawing
1 parent 851a05e commit 207716f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/pages/Courts/CourtDetails/StakePanel/InputDisplay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const InputDisplay: React.FC<IInputDisplay> = ({
7575
return (
7676
<>
7777
<LabelArea>
78-
<label>{isStaking ? `Available ${parsedBalance} PNK` : ""}</label>
78+
<label>{`Available ${isStaking ? parsedBalance : parsedStake} PNK`}</label>
7979
<StyledLabel
8080
onClick={() => {
8181
const amount = isStaking ? parsedBalance : parsedStake;

0 commit comments

Comments
 (0)