Updated settings save action debounce to be 350
• Updated: - settings save action debounce to be 350 instead of 50
This commit is contained in:
parent
2297c18ec4
commit
5ec51b1a78
|
@ -27,7 +27,7 @@ const debouncedSave = debounce((dispatch, getState) => {
|
|||
api().put('/api/web/settings', { data })
|
||||
.then(() => dispatch({ type: SETTING_SAVE }))
|
||||
.catch(() => { /* */ })
|
||||
}, 50, { trailing: true })
|
||||
}, 350, { trailing: true })
|
||||
|
||||
export function saveSettings() {
|
||||
return (dispatch, getState) => debouncedSave(dispatch, getState)
|
||||
|
|
Loading…
Reference in New Issue