()
| 329 | } |
| 330 | |
| 331 | export function getURL() { |
| 332 | const { href } = window.location |
| 333 | const origin = getLocationOrigin() |
| 334 | return href.substring(origin.length) |
| 335 | } |
| 336 | |
| 337 | export function getDisplayName<P>(Component: ComponentType<P>) { |
| 338 | return typeof Component === 'string' |
no test coverage detected
searching dependent graphs…