fix: byte units (#4419)

This commit is contained in:
Cubxity 2022-10-10 00:09:24 +02:00 committed by GitHub
parent e0e0689846
commit 597821b3bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 19 deletions

View file

@ -17,7 +17,7 @@ export default () => {
const previous = useRef<Record<'tx' | 'rx', number>>({ tx: -1, rx: -1 });
const cpu = useChartTickLabel('CPU', limits.cpu, '%', 2);
const memory = useChartTickLabel('Memory', limits.memory, 'MB');
const memory = useChartTickLabel('Memory', limits.memory, 'MiB');
const network = useChart('Network', {
sets: 2,
options: {