()
| 113 | // for hash changes and close the overlay when the hash changes. |
| 114 | useEffect(() => { |
| 115 | const hashChangeHandler = () => { |
| 116 | setIsSidebarOpen(false) |
| 117 | } |
| 118 | window.addEventListener('hashchange', hashChangeHandler) |
| 119 | |
| 120 | return () => { |
nothing calls this directly
no outgoing calls
no test coverage detected