Skip to content

Commit

Permalink
Merge branch 'master' of github.com:caneveryoneusetemp/caneveryoneuse…
Browse files Browse the repository at this point in the history
…_tool
  • Loading branch information
Thomas Stauer committed Mar 18, 2024
2 parents fe57b0f + a0442e0 commit b00f27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/partials/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Component = (props) => {
}, [selectedComponent, type]);

const retrieveBgColor = (count) => {
if (count > 3) return 'bg-danger';
if (count > 2) return 'bg-danger';
return count > 0 ? 'bg-warning' : 'bg-success';
}

Expand Down

0 comments on commit b00f27e

Please sign in to comment.