Merge pull request #80 from apuc/tracker-connect-back

tracker-connect-back
This commit is contained in:
NikoM1k 2023-05-02 21:02:57 +03:00 committed by GitHub
commit f1a27627d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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">