(pathname: string)
| 338 | }; |
| 339 | |
| 340 | export const isFeedEditPath = (pathname: string): boolean => { |
| 341 | const path = withoutLayoutVariantPrefix(pathname ?? ''); |
| 342 | return path.startsWith('/feeds/') && path.endsWith('/edit'); |
| 343 | }; |
| 344 | |
| 345 | // Whether the previous history entry is one of ours. Next keeps the index |
| 346 | // of each client navigation in history.state, which the referrer (set once |
nothing calls this directly
no test coverage detected