Skip to content

Commit

Permalink
Better naming
Browse files Browse the repository at this point in the history
  • Loading branch information
merapi committed Nov 8, 2022
1 parent 960f521 commit cb7040e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/wp-dashboard/src/api/hooks/useSettingsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ export default function useSettingsApi() {
});
dispatch({ type: SETTINGS_ACTION_TYPES.SETTING_SAVED, payload: true });
// Update config to fix #12648
setConfig((c) => ({
...c,
setConfig((config) => ({
...config,
globalAutoAdvance: response.autoAdvance,
globalPageDuration: response.defaultPageDuration,
}));
Expand Down

0 comments on commit cb7040e

Please sign in to comment.