From f5aa24d77e6864ba67a8f18149fc4b3e287ed931 Mon Sep 17 00:00:00 2001 From: gorkem-bwl Date: Fri, 16 Jan 2026 07:34:03 -0500 Subject: [PATCH] fix: rename Image import to ImageIcon to avoid conflicts --- client/src/Components/v1/Icon/index.jsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/src/Components/v1/Icon/index.jsx b/client/src/Components/v1/Icon/index.jsx index 2f4ff968d..5828601fd 100644 --- a/client/src/Components/v1/Icon/index.jsx +++ b/client/src/Components/v1/Icon/index.jsx @@ -34,7 +34,7 @@ import { GripVertical, HelpCircle, History, - Image, + Image as ImageIcon, Info, Key, Layers, @@ -67,7 +67,8 @@ import { /** * Map of icon names to Lucide icon components. - * Only includes icons that are actually used in the application. + * Only icons explicitly imported here will be included in the bundle (tree-shaking). + * To add a new icon: import it above and add it to this object. */ const iconComponents = { Activity, @@ -103,7 +104,7 @@ const iconComponents = { GripVertical, HelpCircle, History, - Image, + Image: ImageIcon, Info, Key, Layers,