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 (
-
- No library activity in the selected window. -
+
No library activity in the selected window.
); } @@ -151,9 +141,7 @@ export function LibrarySummarySection({ rows, hiddenTitles }: LibrarySummarySect return ( <>
-

- Top Titles by Watch Time (min) -

+

Top Titles by Watch Time (min)

Per-Title Summary

-
+
@@ -247,9 +232,7 @@ export function LibrarySummarySection({ rows, hiddenTitles }: LibrarySummarySect {formatNumber(row.lookups)}
- {row.lookupsPerHundred === null - ? '—' - : row.lookupsPerHundred.toFixed(1)} + {row.lookupsPerHundred === null ? '—' : row.lookupsPerHundred.toFixed(1)} {formatDateRange(row.firstWatched, row.lastWatched)}