MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / pluginPageNavPath

Function pluginPageNavPath

packages/react/src/multiplayer/shell.tsx:84–87  ·  view source on GitHub ↗
(pluginId: string, path: string)

Source from the content-addressed store, hash-verified

82};
83
84const pluginPageNavPath = (pluginId: string, path: string): string => {
85 const normalized = normalizePluginPagePath(path);
86 return normalized === "/" ? `/plugins/${pluginId}/` : `/plugins/${pluginId}${normalized}`;
87};
88
89/** The pathname with the active org-slug prefix stripped, for active-state
90 * comparisons against scope-relative paths. */

Callers 1

SidebarContentFunction · 0.85

Calls 1

normalizePluginPagePathFunction · 0.85

Tested by

no test coverage detected