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

View File

@@ -10,7 +10,7 @@ import { DockerNetworkChart } from "./docker-network-chart";
const defaultData = {
cpu: {
value: 0,
value: '0%',
time: "",
},
memory: {
@@ -46,7 +46,7 @@ interface Props {
}
export interface DockerStats {
cpu: {
value: number;
value: string;
time: string;
};
memory: {