diff --git a/apps/wallet-mobile/src/features/Portfolio/common/hooks/useGetPortfolioTokenChart.ts b/apps/wallet-mobile/src/features/Portfolio/common/hooks/useGetPortfolioTokenChart.ts index a745475dcd..83aa0ae562 100644 --- a/apps/wallet-mobile/src/features/Portfolio/common/hooks/useGetPortfolioTokenChart.ts +++ b/apps/wallet-mobile/src/features/Portfolio/common/hooks/useGetPortfolioTokenChart.ts @@ -45,7 +45,9 @@ const getTimestamps = (timeInterval: TokenChartInterval) => { }[timeInterval ?? TokenChartInterval.DAY] const step = (now - from) / resolution - return Array.from({length: resolution}, (_, i) => from + Math.round(step * i)) + const spread = Array.from({length: resolution}, (_, i) => from + Math.round(step * i)) + spread.push(now) + return spread } const ptTicker = networkConfigs[Chain.Network.Mainnet].primaryTokenInfo.ticker