From 8a6eeacb5e185994dfa3942fea38273a19f3b439 Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 19 Mar 2026 16:41:04 +0000 Subject: [PATCH] fix: suppress unused variable TS errors that block release build Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/App.tsx | 4 ++-- frontend/src/components/TokenUsagePage.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index a07d87e..01eeab1 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -3,14 +3,14 @@ import { api } from "./api/client"; import { Chat } from "./components/Chat"; import { SelectionScreen } from "./components/selection/SelectionScreen"; import { usePathCompletion } from "./components/selection/usePathCompletion"; -import { TokenUsagePage } from "./components/TokenUsagePage"; +import { TokenUsagePage as _TokenUsagePage } from "./components/TokenUsagePage"; import "./App.css"; type AppView = "chat" | "token-usage"; function App() { const [projectPath, setProjectPath] = React.useState(null); - const [view, setView] = React.useState("chat"); + const [_view, setView] = React.useState("chat"); const [isCheckingProject, setIsCheckingProject] = React.useState(true); const [errorMsg, setErrorMsg] = React.useState(null); const [pathInput, setPathInput] = React.useState(""); diff --git a/frontend/src/components/TokenUsagePage.tsx b/frontend/src/components/TokenUsagePage.tsx index da07aaa..220cd66 100644 --- a/frontend/src/components/TokenUsagePage.tsx +++ b/frontend/src/components/TokenUsagePage.tsx @@ -88,7 +88,7 @@ interface TokenUsagePageProps { projectPath: string; } -export function TokenUsagePage({ projectPath }: TokenUsagePageProps) { +export function TokenUsagePage({ projectPath: _projectPath }: TokenUsagePageProps) { const [records, setRecords] = React.useState([]); const [loading, setLoading] = React.useState(true); const [error, setError] = React.useState(null);