diff --git a/src/pages/TopStatsPage/Transaction.tsx b/src/pages/TopStatsPage/Transaction.tsx index 8c94275..c880070 100644 --- a/src/pages/TopStatsPage/Transaction.tsx +++ b/src/pages/TopStatsPage/Transaction.tsx @@ -73,7 +73,8 @@ export const TransactionTopStats = () => { }, [period]) const dateFrom = oneSenders.length > 0 ? dayjs(oneSenders[0].updatedAt).subtract(period, 'day') : '' - const dateTo = oneSenders.length > 0 ? dayjs(oneSenders[0].updatedAt).subtract(1, 'day'): '' + const dateTo = oneSenders.length > 0 ? dayjs(oneSenders[0].updatedAt).subtract(1, 'day') : '' + const dateUpdate = oneSenders.length > 0 ? dayjs(oneSenders[0].updatedAt) : '' return @@ -87,11 +88,11 @@ export const TransactionTopStats = () => { {isLoading && } - {!isLoading && dateFrom && dateTo && + {!isLoading && dateFrom && dateTo && dateUpdate && } + content={} > {period === MetricsTopPeriod.d1 &&