diff --git a/packages/frontend/src/components/shared/InlineNotification/InlineNotification.tsx b/packages/frontend/src/components/shared/InlineNotification/InlineNotification.tsx index 573d9d12..b3b2845c 100644 --- a/packages/frontend/src/components/shared/InlineNotification/InlineNotification.tsx +++ b/packages/frontend/src/components/shared/InlineNotification/InlineNotification.tsx @@ -54,11 +54,11 @@ export const InlineNotification = ({ const renderIcon = useCallback(() => { if (!icon) return ; return cloneIcon(icon, { className: iconClass() }); - }, [icon])(); + }, [icon]); return (
- {renderIcon} + {renderIcon()}

{title}

{description &&

{description}

}