Skip to content

Commit

Permalink
Metaboxes: Rename META_BOX_LOADED action
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Nov 13, 2017
1 parent cae9593 commit 1e898c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion editor/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ export function handleMetaBoxReload( location ) {
*/
export function metaBoxLoaded( location ) {
return {
type: 'METABOX_LOADED',
type: 'META_BOX_LOADED',
location,
};
}
Expand Down
2 changes: 1 addition & 1 deletion editor/effects.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export default {

return effects;
},
METABOX_LOADED( action, store ) {
META_BOX_LOADED( action, store ) {
const { getState } = store;
const metaboxes = getMetaBoxes( getState() );
const unloadedMetaboxes = filter(
Expand Down
2 changes: 1 addition & 1 deletion editor/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ export function metaBoxes( state = defaultMetaBoxState, action ) {
};
return newState;
}, { ...state } );
case 'METABOX_LOADED':
case 'META_BOX_LOADED':
return {
...state,
[ action.location ]: {
Expand Down

0 comments on commit 1e898c6

Please sign in to comment.