tracker-connect-back

This commit is contained in:
Николай Полтщук 2023-05-02 21:02:36 +03:00
parent bdd386cbbf
commit fd49f9df68

View File

@ -236,7 +236,7 @@ export const Tracker = () => {
</div>
</div>
<div className="taskList__wrapper">
{filteredAllTasks.map((task) => {
{Boolean(filteredAllTasks.length) && filteredAllTasks.map((task) => {
return (
<div className="task" key={task.id}>
<div className="task__info">