Skip to content

Commit

Permalink
Fixing background color so if long is SUCCESS and short is SUBDUED, t…
Browse files Browse the repository at this point in the history
…he background is SUCCESS
  • Loading branch information
simianhacker committed Jun 20, 2023
1 parent d216f89 commit e532835
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -63,7 +63,7 @@ export function BurnRateWindow({
const overallColor =
longWindowColor === DANGER && shortWindowColor === DANGER
? DANGER
: longWindowColor !== shortWindowColor
: [longWindowColor, shortWindowColor].includes(DANGER)
? WARNING
: longWindowColor === SUBDUED && shortWindowColor === SUBDUED
? SUBDUED
Expand Down

0 comments on commit e532835

Please sign in to comment.