Skip to content
Snippets Groups Projects
Commit c9b549da authored by Planoetscher Daniel (Student Com20)'s avatar Planoetscher Daniel (Student Com20)
Browse files

minor fix for a label

parent 51bfb888
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ export default function Tasks() {
<section className="intro-section">
<h1 className="underlined">Tasks</h1>
</section>
<p>Hey {user.realname ?? user.username}, you have <strong>{tasks.length} {tasks.length > 1 ? 'tasks' : 'task'}</strong>.</p>
<p>Hey {user.realname ?? user.username}, you have <strong>{tasks.length} {tasks.length !== 1 ? 'tasks' : 'task'}</strong>.</p>
<section className="tasks-container">
{
tasks.length > 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment