chore: revert to 3 epochs temporarily

This commit is contained in:
Matthew Russell
2023-10-31 15:26:36 -07:00
parent 0f4664078a
commit f0ea9a1f5f
2 changed files with 9 additions and 3 deletions
@@ -71,7 +71,7 @@ export const useReferral = (args: UseReferralArgs) => {
variables: {
code: referralSet?.id as string,
aggregationEpochs:
args.aggregationEpochs != null
args.aggregationEpochs !== null
? args.aggregationEpochs
: DEFAULT_AGGREGATION_DAYS,
},
@@ -339,7 +339,13 @@ export const Statistics = ({
name: 'commission',
displayName: (
<>
{t('Commission earned')} <QUSDTooltip />
{t('Commission earned in')} <QUSDTooltip />{' '}
{t(
'(last %s epochs)',
(
details?.windowLength || DEFAULT_AGGREGATION_DAYS
).toString()
)}
</>
),
},
@@ -389,6 +395,6 @@ export const QUSDTooltip = () => (
}
underline={true}
>
<span>{t('(qUSD)')}</span>
<span>{t('qUSD')}</span>
</Tooltip>
);