Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

fix(cache): resolve code review issues (namespace, unused props)

oyi77b912116a2fd3
diff --git a/src/app/(dashboard)/dashboard/cache/components/CachePerformance.tsx b/src/app/(dashboard)/dashboard/cache/components/CachePerformance.tsx
index a5ca69c185..899173f416 100644
--- a/src/app/(dashboard)/dashboard/cache/components/CachePerformance.tsx
+++ b/src/app/(dashboard)/dashboard/cache/components/CachePerformance.tsx
@@ -13,7 +13,6 @@ interface CachePerformanceProps {
loading?: boolean;
error?: string | null;
onRetry?: () => void;
- stats?: null;
}
function HitRateBar({ hitRate, label }: { hitRate: number; label: string }) {
diff --git a/src/app/(dashboard)/dashboard/cache/components/MemoryCards.tsx b/src/app/(dashboard)/dashboard/cache/components/MemoryCards.tsx
index e0f37f3a49..5bbae372b8 100644
--- a/src/app/(dashboard)/dashboard/cache/components/MemoryCards.tsx
+++ b/src/app/(dashboard)/dashboard/cache/components/MemoryCards.tsx
@@ -14,7 +14,6 @@ interface MemoryCardsProps {
loading?: boolean;
error?: string | null;
onRetry?: () => void;
- stats?: null | unknown;
}
// ─── Internal StatCard ────────────────────────────────────────────────────────
@@ -70,7 +69,7 @@ export default function MemoryCards({
error = null,
onRetry,
}: MemoryCardsProps) {
- const t = useTranslations("Cache");
+ const t = useTranslations("cache");
if (loading) {
return (