Progress
This commit is contained in:
@@ -27,7 +27,7 @@ const debouncedSave = debounce((dispatch, getState) => {
|
||||
api().put('/api/web/settings', { data })
|
||||
.then(() => dispatch({ type: SETTING_SAVE }))
|
||||
.catch(() => { /* */ })
|
||||
}, 5000, { trailing: true })
|
||||
}, 500, { trailing: true })
|
||||
|
||||
export function saveSettings() {
|
||||
return (dispatch, getState) => debouncedSave(dispatch, getState)
|
||||
|
||||
@@ -495,7 +495,7 @@ class UI extends PureComponent {
|
||||
// } : {}
|
||||
|
||||
return (
|
||||
<div ref={this.setRef}>
|
||||
<div ref={this.setRef} className={_s.gabsocial}>
|
||||
<LoadingBar className={[_s.height1PX, _s.z3, _s.bgBrandLight].join(' ')} />
|
||||
|
||||
<SwitchingArea location={location} onLayoutChange={this.handleLayoutChange}>
|
||||
|
||||
Reference in New Issue
Block a user