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

Function cachePatchyConfig

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

Source from the content-addressed store, hash-verified

267const PATCHY_CONFIG_STORAGE_KEY = 'patchy_config';
268
269export const cachePatchyConfig = (response: PatchyConfigResponse): void => {
270 storageWrapper.setItem(PATCHY_CONFIG_STORAGE_KEY, JSON.stringify(response));
271};
272
273let loadedConfig: PatchyConfig | null = null;
274

Callers 1

usePatchyConfigSyncFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected