Skip to content

Commit

Permalink
fix style error
Browse files Browse the repository at this point in the history
Signed-off-by: Efren Lim <[email protected]>
  • Loading branch information
emlimlf committed Oct 1, 2024
1 parent e47e1d1 commit ff99723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/TodoFooter.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default function TodoFooter({ activeCount, completedCount, showTodos, onC
</ul>

{completedCount > 0 ? (
<button style="background-color: red" className="clear-completed" onClick={onClearCompleted}>
<button style={{ backgroundColor: red }} className="clear-completed" onClick={onClearCompleted}>
Clear completed
</button>
) : null}
Expand Down

0 comments on commit ff99723

Please sign in to comment.