Skip to content

Commit

Permalink
refactor: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Feb 5, 2024
1 parent 0591d6a commit b53ceaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/taskItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ function TaskItem({
className="task-list-item-checkbox"
checked={local}
onClick={() => {
// Bail if no line number was found
// Bail if no line number was found
if (!controller || line == null) return;
controller({ line: line-1, checked: !local });
controller({ line: line - 1, checked: !local });
setLocal(!local);
}}
/>
Expand Down

0 comments on commit b53ceaa

Please sign in to comment.