This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

fix

+2 -2
+1 -1
src/app/profile/[handle]/page.tsx
··· 490 490 {chartData.map((dataPoint, index) => { 491 491 // Calculate height percentage (max of 100%) 492 492 const maxCount = Math.max(...chartData.map(d => d.count)); 493 - const heightPercent = Math.max(10, Math.min(100, (dataPoint.count / maxCount) * 100)); 493 + const heightPercent = dataPoint.count === 0 ? 0 : Math.min(100, (dataPoint.count / maxCount) * 100); 494 494 495 495 return ( 496 496 <div
+1 -1
src/app/stats/page.tsx
··· 173 173 {statsData.chartData.map((dataPoint, index) => { 174 174 // Calculate height percentage (max of 100%) 175 175 const maxCount = Math.max(...statsData.chartData.map(d => d.count)); 176 - const heightPercent = Math.max(10, Math.min(100, (dataPoint.count / maxCount) * 100)); 176 + const heightPercent = dataPoint.count === 0 ? 0 : Math.min(100, (dataPoint.count / maxCount) * 100); 177 177 178 178 return ( 179 179 <div