Fix infrastructure white page error cause by theme color
This commit is contained in:
1 parent
9a250e1460
commit
e19dffb186
2 files changed
+7
-11
No files matched your search
@@ -71,9 +71,7 @@ const UptimeMonitors = () => {
|
||||
? theme.palette.error.main
|
||||
: monitor.uptimePercentage < 0.5
|
||||
? theme.palette.warning.main
|
||||
: monitor.uptimePercentage < 0.75
|
||||
? theme.palette.success.main
|
||||
: theme.palette.success.main;
|
||||
: theme.palette.success.main;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user