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

Function pluginPageNavPath

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

Source from the content-addressed store, hash-verified

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

Callers 1

SidebarContentFunction · 0.85

Calls 1

normalizePluginPagePathFunction · 0.85

Tested by

no test coverage detected