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