()
| 71 | !!title && (sidebarExpanded || (shouldRenderItems && hasVisibleItems)); |
| 72 | |
| 73 | const toggleFlag = () => { |
| 74 | const nextIsVisible = !isVisible; |
| 75 | |
| 76 | if (flag) { |
| 77 | updateFlag(flag, nextIsVisible); |
| 78 | } |
| 79 | |
| 80 | setIsVisible(nextIsVisible); |
| 81 | }; |
| 82 | |
| 83 | return ( |
| 84 | <NavSection className={classNames('group/section mt-1', className)}> |
nothing calls this directly
no outgoing calls
no test coverage detected