From d5c7c17cd851e3caa520ee41937933c748ac06e0 Mon Sep 17 00:00:00 2001 From: Satyam <95536056+Satyam-Rastogi@users.noreply.github.com> Date: Fri, 13 Mar 2026 00:28:56 +0530 Subject: [PATCH] fix(sidebar): remove title attribute from NavLink to fix [object Object] tooltip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The collapsed sidebar was showing '[object Object]' on hover because the HTML title attribute received a JSX element (ProCanvas uses a JSX label with styled spans). Removed the native title attribute — the custom tooltip div already handles collapsed-state label display correctly. --- src/components/Layout.jsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index 3f97d62..97ca779 100644 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -17,7 +17,6 @@ const SidebarItem = ({ to, icon: Icon, label, isCollapsed, onClick }) => { ` group relative flex items-center px-3 py-3 rounded-xl mb-1