Skip to content

Commit

Permalink
Remove logging
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriksen-mark committed Jun 21, 2024
1 parent 1bb83a0 commit 3668a97
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/MenuItem/MenuItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,11 @@ const MenuItem = ({ label, icon, onClick, isActive, children, link, items, curre

const submenuActive = () => {
if (label === "DiyHue" || label === "Addons") {
//console.log("label: " + label);
for (let x = 0; x < items.length; x++) {
if (items[x]["label"] === label) {
//console.log("items[x]label: " + items[x]["label"]);
const subItems = items[x].subItems
//console.log("subItems.length: " + subItems.length);
for (let i = 0; i < subItems.length; i++) {
//console.table("subItems: " + subItems[i].label);
if (subItems[i].link === currentElement) {
//console.log("subItems[i].link: " + subItems[i].link);
setIsOpen(true);
}
}
Expand Down

0 comments on commit 3668a97

Please sign in to comment.