• Saves sync configuration to storage.

    Parameters

    • config: SyncConfig

      The sync configuration to save.

    Returns void

    saveSyncConfig(config);
    
    export function saveSyncConfig(config: SyncConfig): void {
    try {
    storage.setItem(STORAGE_KEYS.SYNC_CONFIG, JSON.stringify(config));
    } catch (error) {
    console.error("Error saving sync config to storage", error);
    }
    }