diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-19 00:30:35 -0700 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2026-05-19 00:30:35 -0700 |
| commit | 5eab2822091e20f9cf07bfe10ed20b5f2e3380bc (patch) | |
| tree | a9479a9741abfaf52296bd47b574fd4c8ceb1ada /frontend/lib/overview.ts | |
| parent | 2881e7598628697d0a786cf840abdc69086d1d24 (diff) | |
chore: remove unused unavailableFields helper
Diffstat (limited to 'frontend/lib/overview.ts')
| -rw-r--r-- | frontend/lib/overview.ts | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/frontend/lib/overview.ts b/frontend/lib/overview.ts index 1529933..6993397 100644 --- a/frontend/lib/overview.ts +++ b/frontend/lib/overview.ts @@ -85,12 +85,6 @@ export function rangePercent(overview: TickerOverview): number | null { return Math.max(0, Math.min(100, ((price - low) / (high - low)) * 100)); } -export function unavailableFields(overview: TickerOverview): string[] { - return Object.entries(overview.meta.field_availability) - .filter(([, available]) => !available) - .map(([field]) => field); -} - export function watchlistSubtitle(item: WatchlistItem): string { return new Date(item.created_at).toLocaleDateString(undefined, { month: "short", |
