(response: PatchyConfigResponse)
| 270 | const PATCHY_CONFIG_STORAGE_KEY = 'patchy_config'; |
| 271 | |
| 272 | export const cachePatchyConfig = (response: PatchyConfigResponse): void => { |
| 273 | storageWrapper.setItem(PATCHY_CONFIG_STORAGE_KEY, JSON.stringify(response)); |
| 274 | }; |
| 275 | |
| 276 | let loadedConfig: PatchyConfig | null = null; |
| 277 |
no outgoing calls
no test coverage detected