add staking page

This commit is contained in:
2026-06-16 18:54:11 +03:00
parent 26eda104ae
commit f50172a615

View File

@@ -56,7 +56,7 @@ export function PositionsPanel({ chain, onUnstakeEth, onUnstakeSol, onClaim, uns
{isError && <div className={styles.empty}>{getStakingErrorMessage(error)}</div>} {isError && <div className={styles.empty}>{getStakingErrorMessage(error)}</div>}
{!isLoading && !isError && empty && ( {!isLoading && !isError && (empty || (data?.chain === 'ETH' && (parseFloat(data.stEthBalanceWeiHuman) || 0) > 0.00000000000001)) && (
<div className={styles.emptyState}> <div className={styles.emptyState}>
<span className={styles.emptyIcon} aria-hidden> <span className={styles.emptyIcon} aria-hidden>
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round"> <svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round">