alpha
Login
or
Join now
atpota.to
/
flushes.app
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
fix
author
dame-is
date
6 months ago
(Dec 5, 2025, 1:41 AM -0500)
commit
b216fea7
b216fea7e560a4362aa15a1a12409e10b4feb703
parent
a676c859
a676c859e5815afbc421988052e2297e4f94304d
+2
-2
2 changed files
Expand all
Collapse all
Unified
Split
src
app
profile
[handle]
page.tsx
stats
page.tsx
+1
-1
src/app/profile/[handle]/page.tsx
Reviewed
···
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
493
-
const heightPercent = Math.max(10, Math.min(100, (dataPoint.count / maxCount) * 100));
493
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
Reviewed
···
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
176
-
const heightPercent = Math.max(10, Math.min(100, (dataPoint.count / maxCount) * 100));
176
176
+
const heightPercent = dataPoint.count === 0 ? 0 : Math.min(100, (dataPoint.count / maxCount) * 100);
177
177
178
178
return (
179
179
<div