From 6d2e4fa55acc5169fa3aec9c5af880be161ed53f Mon Sep 17 00:00:00 2001 From: mgreminger Date: Sun, 29 Dec 2024 18:12:20 -0600 Subject: [PATCH] fix: fix user default config regression --- src/SetDefaultConfigDialog.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SetDefaultConfigDialog.svelte b/src/SetDefaultConfigDialog.svelte index 6e5f3939..22448efe 100644 --- a/src/SetDefaultConfigDialog.svelte +++ b/src/SetDefaultConfigDialog.svelte @@ -9,7 +9,7 @@ import RequestPersistentStorage from "./RequestPersistentStorage.svelte"; - let userDefaultConfig: Config = getDefaultConfig(); + let userDefaultConfig: Config = $state(getDefaultConfig()); let configsMatch = $derived(configsEqual($config, userDefaultConfig)); let currentConfigIsDefaultConfig = $derived(isDefaultConfig($config));