Skip to content

Commit

Permalink
Update App.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
elle-l-em authored Aug 14, 2024
1 parent 30a687f commit 15daef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function App(props) {
}

const tasksNoun = taskList.length !== 1 ? "tasks" : "task";
const headingText = `${taskList.length} ${tasksNoun}`;
let headingText = `${taskList.length} ${tasksNoun}`;
if (filter === "Active") headingText += " remaining";
if (filter === "Completed") headingText += " completed";

Expand Down

0 comments on commit 15daef3

Please sign in to comment.