src/platform/site-wide/side-nav/components/SideNav.js
Function render
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { renderChildItems } = this;
const { navItemsLookup } = this.props;
// Derive the parent-most nav item. This is O(n), which isn't great but I'm assuming there won't be 1000s of side nav items.