Update system-overview.tsx

This commit is contained in:
MacRimi
2026-04-06 12:06:08 +02:00
parent adde2ce5b9
commit ea1d8ab037

View File

@@ -159,17 +159,6 @@ const fetchProxmoxStorageData = async (): Promise<ProxmoxStorage[] | null> => {
return null return null
} }
} }
}
const fetchProxmoxStorageData = async (): Promise<ProxmoxStorageData | null> => {
try {
const data = await fetchApi<ProxmoxStorageData>("/api/proxmox-storage")
return data
} catch (error) {
console.log("[v0] Proxmox storage API not available")
return null
}
}
const getUnitsSettings = (): "Bytes" | "Bits" => { const getUnitsSettings = (): "Bytes" | "Bits" => {
if (typeof window === "undefined") return "Bytes" if (typeof window === "undefined") return "Bytes"