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);