change debounce time

This commit is contained in:
Egor Aristov 2025-02-28 17:21:06 +03:00
parent 8d58100d89
commit cb31a40edb

View File

@ -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;