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

Function getLocalBootData

packages/shared/src/contexts/BootProvider.tsx:78–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76};
77
78export const getLocalBootData = (): BootCacheData | null => {
79 const local = storage.getItem(BOOT_LOCAL_KEY);
80 if (local) {
81 return JSON.parse(local) as BootCacheData;
82 }
83
84 return null;
85};
86
87const updateLocalBootData = (
88 current: Partial<BootCacheData> | undefined,

Callers 4

sendBootDataFunction · 0.90
handleMessagesFunction · 0.90
index.tsxFile · 0.90
BootDataProviderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected