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

Function getRouterPathname

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

Source from the content-addressed store, hash-verified

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

Callers 1

TabContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected