Make unreachable code reachable
parent
0df8d341e5
commit
fbc2e7a52f
|
@ -48,8 +48,7 @@ export const generateSingleStatHexs = (
|
|||
lastValue
|
||||
) => {
|
||||
const defaultColoring = {bgColor: null, textColor: GAUGE_COLORS[11].hex}
|
||||
|
||||
if (!colors & containsLineGraph) {
|
||||
if (!colors.length) {
|
||||
return defaultColoring
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue