• Saves sync configuration.

    Parameters

    • config: SyncConfig

      The sync configuration to save.

    Returns void

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