From 7e355dbac6321a68fb615eb55412b4d935b36029 Mon Sep 17 00:00:00 2001 From: sudacode Date: Thu, 9 Apr 2026 22:33:16 -0700 Subject: [PATCH] style(stats): fix prettier formatting in LibrarySummarySection --- .../trends/LibrarySummarySection.tsx | 27 ++++--------------- 1 file changed, 5 insertions(+), 22 deletions(-) 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)}