diff --git a/server/static/wrstat/src/Scatter.tsx b/server/static/wrstat/src/Scatter.tsx index bd8a4fd..1ddb3ec 100644 --- a/server/static/wrstat/src/Scatter.tsx +++ b/server/static/wrstat/src/Scatter.tsx @@ -49,6 +49,8 @@ type Data = { Mtime: string; } +let scatterKey = 0; + const minDaysAgo = (date: string) => { const daysAgo = asDaysAgo(date); if (daysAgo < 0) { @@ -232,7 +234,7 @@ const minDaysAgo = (date: string) => { const xScale = graphWidth / (maxDate - minDate), yScale = graphHeight / (maxSize - minSize); - return + return