From 5a5756bcf2eac1e9122edf0b8d6a54a4a5c228e7 Mon Sep 17 00:00:00 2001 From: Andre H Date: Fri, 23 Feb 2024 10:47:50 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20add=20cloneIcon=20to=20?= =?UTF-8?q?dep=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/components/shared/Tag/Tag.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/components/shared/Tag/Tag.tsx b/packages/frontend/src/components/shared/Tag/Tag.tsx index 2d10012a..086d3515 100644 --- a/packages/frontend/src/components/shared/Tag/Tag.tsx +++ b/packages/frontend/src/components/shared/Tag/Tag.tsx @@ -41,14 +41,14 @@ export const Tag = ({ const renderLeftIcon = useMemo(() => { if (!leftIcon) return null; return
{cloneIcon(leftIcon, { size: 16 })}
; - }, [iconCls, leftIcon]); + }, [cloneIcon, iconCls, leftIcon]); const renderRightIcon = useMemo(() => { if (!rightIcon) return null; return (
{cloneIcon(rightIcon, { size: 16 })}
); - }, [iconCls, rightIcon]); + }, [cloneIcon, iconCls, rightIcon]); return (