style: auto-fix lint and format
This commit is contained in:
1 parent
2bf014ba43
commit
c1bd6cccaa
1 file changed
+1
-1
@@ -85,7 +85,7 @@ type ContainerExtractor = (container: BeszelContainerStatsRecord["stats"][number
|
|||||||
const defaultContainerExtractors: Record<string, ContainerExtractor> = {
|
const defaultContainerExtractors: Record<string, ContainerExtractor> = {
|
||||||
cpu: (c) => c?.c ?? 0,
|
cpu: (c) => c?.c ?? 0,
|
||||||
memory: (c) => c?.m ?? 0,
|
memory: (c) => c?.m ?? 0,
|
||||||
network: (c) => c?.b ? c.b[0] + c.b[1] : (c?.ns ?? 0) + (c?.nr ?? 0),
|
network: (c) => (c?.b ? c.b[0] + c.b[1] : (c?.ns ?? 0) + (c?.nr ?? 0)),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const useDockerChartData = (
|
export const useDockerChartData = (
|
||||||
|
|||||||
Reference in new issue
Block a user