refactor: change CPU value type from number to string

This commit is contained in:
Jordan B
2025-12-01 08:51:55 +01:00
committed by GitHub
parent 5890b321b2
commit ef9732d5d9
@@ -10,7 +10,7 @@ import { DockerNetworkChart } from "./docker-network-chart";
const defaultData = { const defaultData = {
cpu: { cpu: {
value: 0, value: '0%',
time: "", time: "",
}, },
memory: { memory: {
@@ -46,7 +46,7 @@ interface Props {
} }
export interface DockerStats { export interface DockerStats {
cpu: { cpu: {
value: number; value: string;
time: string; time: string;
}; };
memory: { memory: {