sync
This commit is contained in:
parent
a40c827ca8
commit
4f0c48c240
|
|
@ -41,7 +41,11 @@ async function withdraw(){
|
||||||
</table>
|
</table>
|
||||||
<br/>
|
<br/>
|
||||||
<div className="btnArea">
|
<div className="btnArea">
|
||||||
|
{ props.amount > 0 ?
|
||||||
<button className="withdrawBtn" onClick={withdraw} >Withdraw</button>
|
<button className="withdrawBtn" onClick={withdraw} >Withdraw</button>
|
||||||
|
:
|
||||||
|
<button className="withdrawBtn" onClick={withdraw} disabled>Withdraw</button>
|
||||||
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,11 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.withdrawBtn:disabled {
|
||||||
|
background: #cbd0d4;
|
||||||
|
cursor:not-allowed;
|
||||||
|
}
|
||||||
|
|
||||||
.extendBtn {
|
.extendBtn {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
background: #be60e0;
|
background: #be60e0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue