+
+
+
+ {completed}/{totalTasks}
+
+ {totalTasks > 0 && (
+
+ {inProgress > 0 && (
+
+
+ {inProgress} in_progress
+
+ )}
+ {pending > 0 && (
+
+
+ {pending} pending
+
+ )}
+ {completed > 0 && (
+
+
+ {completed} completed
+
+ )}
+
)}
- {tc.pending > 0 && (
-
- {tc.pending} pending
-
- )}
- {tc.completed > 0 && (
-
- {tc.completed} done
-
- )}
- >
+
);
})()}
diff --git a/src/renderer/components/ui/tooltip.tsx b/src/renderer/components/ui/tooltip.tsx
index 5513e36e..745ddd4a 100644
--- a/src/renderer/components/ui/tooltip.tsx
+++ b/src/renderer/components/ui/tooltip.tsx
@@ -29,4 +29,4 @@ const TooltipContent = React.forwardRef<
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
export { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger };
-/* eslint-enable react/jsx-props-no-spreading */
+/* eslint-enable react/jsx-props-no-spreading -- Standard Radix/shadcn pattern */