fix(sidebar): remove title attribute from NavLink to fix [object Object] tooltip

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.
This commit is contained in:
Satyam
2026-03-13 00:28:56 +05:30
parent b7c9ebb0d0
commit d5c7c17cd8
-1
View File
@@ -17,7 +17,6 @@ const SidebarItem = ({ to, icon: Icon, label, isCollapsed, onClick }) => {
<NavLink <NavLink
to={to} to={to}
onClick={onClick} onClick={onClick}
title={isCollapsed ? label : ""}
className={({ isActive }) => className={({ isActive }) =>
` `
group relative flex items-center px-3 py-3 rounded-xl mb-1 group relative flex items-center px-3 py-3 rounded-xl mb-1