diff --git a/stats/src/components/trends/LibrarySummarySection.tsx b/stats/src/components/trends/LibrarySummarySection.tsx index 980ff240..f3d06921 100644 --- a/stats/src/components/trends/LibrarySummarySection.tsx +++ b/stats/src/components/trends/LibrarySummarySection.tsx @@ -1,13 +1,5 @@ import { useMemo, useState } from 'react'; -import { - Bar, - BarChart, - CartesianGrid, - ResponsiveContainer, - Tooltip, - XAxis, - YAxis, -} from 'recharts'; +import { Bar, BarChart, CartesianGrid, ResponsiveContainer, Tooltip, XAxis, YAxis } from 'recharts'; import type { LibrarySummaryRow } from '../../types/stats'; import { CHART_DEFAULTS, CHART_THEME, TOOLTIP_CONTENT_STYLE } from '../../lib/chart-theme'; import { epochDayToDate, formatDuration, formatNumber } from '../../lib/formatters'; @@ -132,9 +124,7 @@ export function LibrarySummarySection({ rows, hiddenTitles }: LibrarySummarySect if (visibleRows.length === 0) { return (
| - {row.lookupsPerHundred === null - ? '—' - : row.lookupsPerHundred.toFixed(1)} + {row.lookupsPerHundred === null ? '—' : row.lookupsPerHundred.toFixed(1)} | {formatDateRange(row.firstWatched, row.lastWatched)} |