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

Function getHash

packages/shared/src/hooks/comments/useScrollToHashComment.ts:18–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16};
17
18const getHash = (): string => window.location.hash;
19const getServerHash = (): string => '';
20
21const getScrollParent = (element: HTMLElement): HTMLElement | null => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected