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