change debounce time
This commit is contained in:
parent
8d58100d89
commit
cb31a40edb
@ -20,7 +20,7 @@ export const useWizardStore = defineStore('wizard', () => {
|
|||||||
|
|
||||||
const updateLocalStorage = debounce(() => {
|
const updateLocalStorage = debounce(() => {
|
||||||
localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(specs));
|
localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(specs));
|
||||||
}, 250);
|
}, 100);
|
||||||
|
|
||||||
function updateSpec(fieldName: FieldNames, newValue: string) {
|
function updateSpec(fieldName: FieldNames, newValue: string) {
|
||||||
specs[fieldName] = newValue;
|
specs[fieldName] = newValue;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user