diff --git a/src/client/src/pages/index.tsx b/src/client/src/pages/index.tsx index 2d981c7..7d8e05f 100644 --- a/src/client/src/pages/index.tsx +++ b/src/client/src/pages/index.tsx @@ -31,17 +31,21 @@ const HomePage = () => { )} {sections && - sections.map((section) => ( -
- - -
- ))} + sections.map( + (section) => + groupedTodos[section].filter((t) => t.status !== true).length !== + 0 && ( +
+ + +
+ ) + )} {data && data.length === 0 && (