()
| 333 | |
| 334 | // The page the current one was opened from, as this tab's stack recorded it. |
| 335 | export const previousShellPath = (): string | undefined => { |
| 336 | const { routes, pointer } = readStack(); |
| 337 | return routes[pointer - 1]?.path; |
| 338 | }; |
| 339 | |
| 340 | export const isFeedEditPath = (pathname: string): boolean => { |
| 341 | const path = withoutLayoutVariantPrefix(pathname ?? ''); |
no test coverage detected