()
| 295 | useEffect(() => { |
| 296 | recordShellRoute(window.location.pathname, historyKey(), documentArrival()); |
| 297 | const onComplete = () => |
| 298 | recordShellRoute(window.location.pathname, historyKey()); |
| 299 | router.events.on('routeChangeComplete', onComplete); |
| 300 | return () => { |
| 301 | router.events.off('routeChangeComplete', onComplete); |
no test coverage detected