Update Client/src/Pages/Infrastructure/index.jsx
Co-authored-by: Mert Şişmanoğlu <mert190737fb@gmail.com>
This commit is contained in:
1 parent
b72637476b
commit
6c2f016db4
1 file changed
-1
@@ -149,7 +149,6 @@ function Infrastructure() {
|
|||||||
];
|
];
|
||||||
|
|
||||||
const monitorsAsRows = monitors.map((monitor) => {
|
const monitorsAsRows = monitors.map((monitor) => {
|
||||||
console.log(monitor);
|
|
||||||
const processor =
|
const processor =
|
||||||
((monitor.checks[0]?.cpu?.frequency ?? 0) / 1000).toFixed(2) + " GHz";
|
((monitor.checks[0]?.cpu?.frequency ?? 0) / 1000).toFixed(2) + " GHz";
|
||||||
const cpu = (monitor?.checks[0]?.cpu.usage_percent ?? 0) * 100;
|
const cpu = (monitor?.checks[0]?.cpu.usage_percent ?? 0) * 100;
|
||||||
|
|||||||
Reference in new issue
Block a user