Skip to content

Commit bf5d146

Browse files
authored
Merge pull request #13 from JonahNannepaga/master
Correcting the reminder class condition.
2 parents 1c0c5d5 + 18e5a07 commit bf5d146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Task.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { FaTimes } from 'react-icons/fa'
33
const Task = ({ task, onDelete, onToggle }) => {
44
return (
55
<div
6-
className={`task ${!task.reminder && 'reminder'}`}
6+
className={`task ${task.reminder && 'reminder'}`}
77
onDoubleClick={() => onToggle(task.id)}
88
>
99
<h3>

0 commit comments

Comments
 (0)