We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ea221b commit 6ae1098Copy full SHA for 6ae1098
src/components/Task.js
@@ -3,7 +3,7 @@ import { FaTimes } from 'react-icons/fa'
3
const Task = ({ task, onDelete, onToggle }) => {
4
return (
5
<div
6
- className={`task ${task.reminder ? 'reminder' : ''}`}
+ className={`task ${!task.reminder && 'reminder'}`}
7
onDoubleClick={() => onToggle(task.id)}
8
>
9
<h3>
0 commit comments