MCPcopy Create free account
hub / github.com/dailydotdev/apps / isFeedEditPath

Function isFeedEditPath

packages/shared/src/components/shell/shellNav.ts:337–340  ·  view source on GitHub ↗
(pathname: string)

Source from the content-addressed store, hash-verified

335};
336
337export const isFeedEditPath = (pathname: string): boolean => {
338 const path = withoutLayoutVariantPrefix(pathname ?? '');
339 return path.startsWith('/feeds/') && path.endsWith('/edit');
340};
341
342// Whether the previous history entry is one of ours. Next keeps the index
343// of each client navigation in history.state, which the referrer (set once

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected