From 48784489a9927f8efb10bd9399add7b99fa35353 Mon Sep 17 00:00:00 2001 From: Kami <46442452+Nick-1979@users.noreply.github.com> Date: Mon, 1 Aug 2022 12:41:52 +0430 Subject: [PATCH] Update ListNominees.tsx (#7948) * Update ListNominees.tsx useTranslation format is not correct in the tooltip while a validator is oversubscribed * Update ListNominees.tsx * Update ListNominees.tsx --- packages/page-staking/src/Actions/Account/ListNominees.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/page-staking/src/Actions/Account/ListNominees.tsx b/packages/page-staking/src/Actions/Account/ListNominees.tsx index 1427b081d2..b3db8aa4d9 100644 --- a/packages/page-staking/src/Actions/Account/ListNominees.tsx +++ b/packages/page-staking/src/Actions/Account/ListNominees.tsx @@ -82,7 +82,7 @@ function ListNominees ({ nominating, stashId }: Props): React.ReactElement('These validators are active but only the top {{max}} nominators by backing stake will be receiving rewards. The nominating stash is not one of those to be rewarded in the current era.', { replace: api.consts.staking?.maxNominatorRewardedPerValidator?.toString() })} + help={t('These validators are active but only the top {{max}} nominators by backing stake will be receiving rewards. The nominating stash is not one of those to be rewarded in the current era.', { replace: { max: api.consts.staking?.maxNominatorRewardedPerValidator?.toString() } })} renderChildren={renOver[1]} summary={t('Oversubscribed nominations ({{count}})', { replace: { count: renOver[0] } })} />