From 5242dad140aa80b24a02c4941a7a2ef3a85ed190 Mon Sep 17 00:00:00 2001
From: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Date: Tue, 25 Nov 2025 16:41:39 +0000
Subject: [PATCH] Better staking overview (#11930)
* some work
* more info
* history
* mostly done
* better formatting
* better staking validators page
---
.../src/Validators/Address/index.tsx | 30 ++++++++-----------
.../src/Validators/CurrentList.tsx | 4 ++-
2 files changed, 16 insertions(+), 18 deletions(-)
diff --git a/packages/page-staking-async/src/Validators/Address/index.tsx b/packages/page-staking-async/src/Validators/Address/index.tsx
index a32c3c3b33..a181b2b42d 100644
--- a/packages/page-staking-async/src/Validators/Address/index.tsx
+++ b/packages/page-staking-async/src/Validators/Address/index.tsx
@@ -19,7 +19,6 @@ import { BN_ZERO } from '@polkadot/util';
import { useTranslation } from '../../translate.js';
import NominatedBy from './NominatedBy.js';
-import StakeOther from './StakeOther.js';
import Status from './Status.js';
interface Props {
@@ -96,7 +95,7 @@ function Address ({ address, className = '', filterName, hasQueries, isElected,
const [isExpanded, toggleIsExpanded] = useToggle(false);
const { accountInfo, slashingSpans } = useAddressCalls(api, address, isMain);
- const { commission, isChilled, nominators, stakeOther, stakeOwn } = useMemo(
+ const { commission, isChilled, nominators, stakeOwn, stakeTotal } = useMemo(
() => validatorInfo
? expandInfo(validatorInfo, minCommission)
: {},
@@ -154,10 +153,17 @@ function Address ({ address, className = '', filterName, hasQueries, isElected,
{isMain
? (
-