Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ pathOf
Function
pathOf
packages/shared/src/hooks/usePostPrefetch.ts:24–25 ·
view source on GitHub ↗
(anchor: HTMLAnchorElement)
Source
from the content-addressed store, hash-verified
22
};
23
24
const
pathOf = (anchor: HTMLAnchorElement): string =>
25
`${anchor.pathname}${anchor.search}${anchor.hash}`;
26
27
export
const
usePostPrefetch = (): void => {
28
const
router = useRouter();
Callers
1
prefetch
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected