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

Function getRouterPathname

packages/shared/src/components/tabs/TabContainer.tsx:17–17  ·  view source on GitHub ↗
(path?: string)

Source from the content-addressed store, hash-verified

15import type { RenderTab } from './common';
16
17const getRouterPathname = (path?: string): string => path?.split('?')[0] ?? '';
18
19export interface TabProps<T extends string> {
20 children?: ReactNode;

Callers 1

TabContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected