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

Function createEntry

packages/shared/src/hooks/useScrollRestoration.spec.ts:49–52  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

47let entryCount = 0;
48
49const createEntry = (path: string): HistoryEntry => {
50 entryCount += 1;
51 return { key: `entry-${entryCount}`, path };
52};
53
54const setPageHeight = (height: number) => {
55 pageHeight = height;

Callers 3

navigateFunction · 0.85
startOnScrolledFeedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected