(router: NextRouter)
| 36 | // The address on screen, which can differ from the route: Happening now in |
| 37 | // place under the widget rail keeps the feed page's route. |
| 38 | const getAsPathname = (router: NextRouter): string => |
| 39 | withoutLayoutVariantPrefix( |
| 40 | (router.asPath ?? router.pathname ?? '').split(/[?#]/)[0], |
| 41 | ); |
| 42 | |
| 43 | interface OpenFeed { |
| 44 | title: string; |
no test coverage detected