Skip to content

Commit

Permalink
Migrate editor store to thunks
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Oct 25, 2021
1 parent 7ac9959 commit e9f0118
Show file tree
Hide file tree
Showing 8 changed files with 134 additions and 225 deletions.
2 changes: 1 addition & 1 deletion docs/reference-guides/data/data-core-editor.md
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ _Related_

### trashPost

Action generator for trashing the current post in the editor.
Action for trashing the current post in the editor.

### undo

Expand Down
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"@wordpress/compose": "file:../compose",
"@wordpress/core-data": "file:../core-data",
"@wordpress/data": "file:../data",
"@wordpress/data-controls": "file:../data-controls",
"@wordpress/date": "file:../date",
"@wordpress/deprecated": "file:../deprecated",
"@wordpress/element": "file:../element",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ import { store as noticesStore } from '@wordpress/notices';
* Internal dependencies
*/
import AutosaveMonitor from '../autosave-monitor';
import { localAutosaveGet, localAutosaveClear } from '../../store/controls';
import {
localAutosaveGet,
localAutosaveClear,
} from '../../store/local-autosave';
import { store as editorStore } from '../../store';

const requestIdleCallback = window.requestIdleCallback
Expand Down
Loading

0 comments on commit e9f0118

Please sign in to comment.