Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
14
import type { RenderTab } from
'./common'
;
15
16
const getRouterPathname = (path?: string): string => path?.split(
'?'
)[0] ??
''
;
17
18
export interface TabProps<T extends string> {
19
children?: ReactNode;
Callers
1
TabContainer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected