From b7621c62ebf46beecfff9d8ed263c5a815940e46 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Wed, 17 Dec 2025 19:56:31 +0530 Subject: [PATCH] fix: work item property icon renderer (#8363) --- .../components/common/layout/sidebar/property-list-item.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/core/components/common/layout/sidebar/property-list-item.tsx b/apps/web/core/components/common/layout/sidebar/property-list-item.tsx index c518c80326..491c74e6c3 100644 --- a/apps/web/core/components/common/layout/sidebar/property-list-item.tsx +++ b/apps/web/core/components/common/layout/sidebar/property-list-item.tsx @@ -2,7 +2,7 @@ import type { ReactNode } from "react"; import { cn } from "@plane/utils"; type TSidebarPropertyListItemProps = { - icon: React.FC<{ className?: string }> | React.ReactNode; + icon: React.FC<{ className?: string }>; label: string; children: ReactNode; appendElement?: ReactNode; @@ -15,7 +15,7 @@ export function SidebarPropertyListItem(props: TSidebarPropertyListItemProps) { return (
- {typeof Icon === "function" ? : Icon} + {label} {appendElement}