()
| 279 | `${globalThis.location?.pathname}${globalThis.location?.search}`; |
| 280 | |
| 281 | const documentArrival = (): DocumentArrival => { |
| 282 | const [navigation] = (globalThis.performance?.getEntriesByType?.( |
| 283 | 'navigation', |
| 284 | ) ?? []) as PerformanceNavigationTiming[]; |
| 285 | |
| 286 | return navigation?.type === 'reload' || navigation?.type === 'back_forward' |
| 287 | ? navigation.type |
| 288 | : 'navigate'; |
| 289 | }; |
| 290 | |
| 291 | export const useShellRouteStack = (): void => { |
| 292 | const router = useRouter(); |
no outgoing calls
no test coverage detected