diff --git a/web/components/custom/sidebar/partial/task-section.tsx b/web/components/custom/sidebar/partial/task-section.tsx index 3746c826..015a5dc6 100644 --- a/web/components/custom/sidebar/partial/task-section.tsx +++ b/web/components/custom/sidebar/partial/task-section.tsx @@ -61,12 +61,14 @@ export const TaskSection: React.FC<{ pathname: string }> = ({ pathname }) => { = ({ title, href, count, isActive }) => ( +const TaskSectionHeader: React.FC = ({ title, href, count, isActive, iconName }) => ( = ({ title, href, coun href={href} className="flex flex-1 items-center justify-start rounded-md px-2 py-1 focus-visible:outline-none focus-visible:ring-0" > - + {iconName && } + + {title} {count > 0 && {count}}
+ {iconName && } + +
{title} {count > 0 && {count}}