From cb31a40edbd8093029ef13439c083a261e8e070e Mon Sep 17 00:00:00 2001 From: Egor Aristov Date: Fri, 28 Feb 2025 17:21:06 +0300 Subject: [PATCH] change debounce time --- frontend/wizard-vue/src/stores/wizard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/wizard-vue/src/stores/wizard.ts b/frontend/wizard-vue/src/stores/wizard.ts index 082b1a2..bed82bb 100644 --- a/frontend/wizard-vue/src/stores/wizard.ts +++ b/frontend/wizard-vue/src/stores/wizard.ts @@ -20,7 +20,7 @@ export const useWizardStore = defineStore('wizard', () => { const updateLocalStorage = debounce(() => { localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(specs)); - }, 250); + }, 100); function updateSpec(fieldName: FieldNames, newValue: string) { specs[fieldName] = newValue;