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

This commit is contained in:
oyi77
2026-04-01 09:35:19 +07:00
parent fc90ad5949
commit b912116a2f
2 changed files with 1 additions and 3 deletions
@@ -13,7 +13,6 @@ interface CachePerformanceProps {
loading?: boolean;
error?: string | null;
onRetry?: () => void;
stats?: null;
}
function HitRateBar({ hitRate, label }: { hitRate: number; label: string }) {
@@ -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 (