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

Function getServerSnapshot

packages/shared/src/hooks/useRecentPages.ts:17–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16const EMPTY: RecentPage[] = [];
17const getServerSnapshot = (): RecentPage[] => EMPTY;
18
19export const useRecentPages = (): RecentPage[] =>
20 useSyncExternalStore(subscribeRecentPages, getRecentPages, getServerSnapshot);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected