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