From 9d7a2e2e3ce3a17326d5690083e98e9213e31d52 Mon Sep 17 00:00:00 2001 From: jedarden Date: Tue, 21 Apr 2026 16:15:33 -0400 Subject: [PATCH] fix(web): remove unused imports in predictions.ts to fix TypeScript build PredictionHistoryEntry was imported but never used, and API_BASE was declared but never read. These caused tsc to fail with TS6196/TS6133. Co-Authored-By: Claude Opus 4.7 --- web/src/pages/predictions.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/src/pages/predictions.ts b/web/src/pages/predictions.ts index 19fc0c4..3f449f7 100644 --- a/web/src/pages/predictions.ts +++ b/web/src/pages/predictions.ts @@ -1,5 +1,5 @@ // Predictions Page - Prediction leaderboard, open matches, and submission -import type { BotProfile, PredictorStats, OpenMatch, PredictionHistoryEntry } from '../api-types'; +import type { PredictorStats, OpenMatch, BotProfile } from '../api-types'; import { fetchPredictionsLeaderboard, fetchOpenPredictions, @@ -9,7 +9,6 @@ import { } from '../api-types'; const PAGES_BASE = ''; -const API_BASE = ''; let openMatches: OpenMatch[] = []; let pollTimer: ReturnType | null = null;