Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
SorinC6 committed Mar 15, 2024
1 parent a58e6c9 commit 88fa3a5
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/components/PoolSaturationTag.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,21 @@ function PoolSaturationTag({ value }: Props): Node {
let backgroundColor = null;

switch (true) {
case value > 0.9:
backgroundColor = '#FFC3D3';
break;
case value > 0.8:
backgroundColor = '#FCE4BC';
break;
case value > 0.7:
backgroundColor = '#FBF6B6';
break;
case value > 0.6:
backgroundColor = '#DDFBB6';
break;
default:
backgroundColor = '#C9EDE5';
break;
case value > 0.9:
backgroundColor = '#FFC3D3';
break;
case value > 0.8:
backgroundColor = '#FCE4BC';
break;
case value > 0.7:
backgroundColor = '#FBF6B6';
break;
case value > 0.6:
backgroundColor = '#DDFBB6';
break;
default:
backgroundColor = '#C9EDE5';
break;
}

return (
Expand Down

0 comments on commit 88fa3a5

Please sign in to comment.