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

Function cachePatchyConfig

packages/shared/src/features/patchy/patchyConfig.ts:236–238  ·  view source on GitHub ↗
(response: PatchyConfigResponse)

Source from the content-addressed store, hash-verified

234const PATCHY_CONFIG_STORAGE_KEY = 'patchy_config';
235
236export const cachePatchyConfig = (response: PatchyConfigResponse): void => {
237 storageWrapper.setItem(PATCHY_CONFIG_STORAGE_KEY, JSON.stringify(response));
238};
239
240let loadedConfig: PatchyConfig | null = null;
241

Callers 1

usePatchyConfigSyncFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected