(isOpen)
| 25 | const isHome = pathname === "/"; |
| 26 | |
| 27 | const toggleDrawer = (isOpen) => { |
| 28 | setOpen(isOpen); |
| 29 | if (isOpen) { |
| 30 | window.document.body.classList.add("mobile-top-nav-open"); |
| 31 | } else { |
| 32 | window.document.body.classList.remove("mobile-top-nav-open"); |
| 33 | } |
| 34 | }; |
| 35 | |
| 36 | const renderList = () => ( |
| 37 | <List |
no outgoing calls
no test coverage detected