From e63b1d973eccb80d66cf8c9b51e06a22e7d7789e Mon Sep 17 00:00:00 2001 From: Joe Patterson Date: Wed, 2 Nov 2022 09:59:03 +1000 Subject: [PATCH] fix missing icon Signed-off-by: Joe Patterson --- plugins/org/src/components/Cards/Meta/LinksGroup.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/plugins/org/src/components/Cards/Meta/LinksGroup.tsx b/plugins/org/src/components/Cards/Meta/LinksGroup.tsx index e826c1cf9c..91843f1582 100644 --- a/plugins/org/src/components/Cards/Meta/LinksGroup.tsx +++ b/plugins/org/src/components/Cards/Meta/LinksGroup.tsx @@ -41,11 +41,8 @@ const WebLink = ({ export const LinksGroup = ({ links }: { links?: EntityLink[] }) => { const app = useApp(); - const iconResolver = useCallback( - (key?: string): IconComponent => - key ? app.getSystemIcon(key) ?? LanguageIcon : LanguageIcon, - [app], - ); + const iconResolver = (key?: string): IconComponent => + key ? app.getSystemIcon(key) ?? LanguageIcon : LanguageIcon; if (links === undefined) { return null;