Make unreachable code reachable

pull/10616/head
Alex P 2018-02-08 14:28:08 -08:00
parent 0df8d341e5
commit fbc2e7a52f
1 changed files with 1 additions and 2 deletions

View File

@ -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
}