add staking page
This commit is contained in:
@@ -60,7 +60,7 @@ export function PositionsPanel({ chain, onUnstakeEth, onUnstakeSol, onClaim, uns
|
||||
|
||||
{!isError && data?.chain === 'ETH' && !empty && (
|
||||
<>
|
||||
{(parseFloat(data.stEthBalanceWeiHuman) || 0) > 0 && (
|
||||
{(parseFloat(data.stEthBalanceWeiHuman) || 0) > 0.00000000000001 && (
|
||||
<div className={styles.list}>
|
||||
<div className={`${styles.pos} ${data.optimistic ? styles.pending : ''}`}>
|
||||
<div className={styles.posTop}>
|
||||
@@ -84,7 +84,7 @@ export function PositionsPanel({ chain, onUnstakeEth, onUnstakeSol, onClaim, uns
|
||||
</div>
|
||||
)}
|
||||
|
||||
{data.withdrawalRequests.length > 0 && (
|
||||
{(parseFloat(data.withdrawalRequests[0]?.amountStEthWeiHuman) || 0) > 0.00000000000001 && (
|
||||
<>
|
||||
<div className={styles.subhead}>Заявки на вывод</div>
|
||||
<div className={styles.list}>
|
||||
|
||||
Reference in New Issue
Block a user