Only set app config that's actually changed

This commit is contained in:
Alex Gleason committed 2025-10-16 18:33:24 -05:00
1 parent 3f21df473b
commit 16837284fb
2 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ export interface AppContextType {
/** Current application configuration */
config: AppConfig;
/** Update configuration using a callback that receives current config and returns new config */
updateConfig: (updater: (currentConfig: AppConfig) => AppConfig) => void;
updateConfig: (updater: (currentConfig: Partial<AppConfig>) => Partial<AppConfig>) => void;
/** Optional list of preset relays to display in the RelaySelector */
presetRelays?: { name: string; url: string }[];
}