navigate(item.path || "/")}
+ >
+
{item.icon}
+
{t(item.text)}
+ {item?.children && (
+ <>
+ {isDropdownOpen ? (
+
handleDropdown(index)}
+ >
+
+
+ ) : (
+
handleDropdown(index)}
+ >
+
+
+ )}
+ >
)}
- >
- );
- };
\ No newline at end of file
+
+
+ {item?.children && isDropdownOpen && (
+