Skip to content

Commit

Permalink
Checbox duplication fix
Browse files Browse the repository at this point in the history
  • Loading branch information
simonryrie committed Jul 6, 2023
1 parent c89d5e5 commit 8dfc84c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/project/Task.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,11 @@ const Task: FC<TaskProps> = ({ id, task, targetRef }) => {
ref={targetRef}
className={`${card} ${taskstyle} flex flex-col`}
>
<input
type="checkbox"
checked={task.done}
className={`TestTaskCheckbox${task.id}`}
onChange={handleTaskCheckbox}
></input>
<div className="mb-2 flex items-center justify-between">
<input
type="checkbox"
checked={task.done}
className={`TestTaskCheckbox${task.id}`}
onChange={handleTaskCheckbox}
></input>
<button type="button" onClick={handleDeleteTask}>
Expand Down

0 comments on commit 8dfc84c

Please sign in to comment.