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

Function getLocalBootData

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

Source from the content-addressed store, hash-verified

72};
73
74export const getLocalBootData = (): BootCacheData | null => {
75 const local = storage.getItem(BOOT_LOCAL_KEY);
76 if (local) {
77 return JSON.parse(local) as BootCacheData;
78 }
79
80 return null;
81};
82
83const updateLocalBootData = (
84 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