Skip to content

Commit 28b8045

Browse files
committed
Bug fix
1 parent 06e49fd commit 28b8045

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mxstatus/src/components/InfoCPU.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const InfoCPU = props => {
9292
overflow: 'hidden'
9393
}}>
9494
<div style={{
95-
width: `${cpu_usage}%`,
95+
width: `${cpu_usage * 100}%`,
9696
height: '100%',
9797
backgroundColor: getUtilizationColor(cpu_usage),
9898
borderRadius: '3px',

0 commit comments

Comments
 (0)