Skip to content

Commit

Permalink
Fix the ADD_UNPROCESSED_BLOCK_TYPE reducer
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr committed Aug 25, 2023
1 parent 031fb5e commit bee7370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blocks/src/store/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export function unprocessedBlockTypes( state = {}, action ) {
case 'ADD_UNPROCESSED_BLOCK_TYPE':
return {
...state,
[ action.blockType.name ]: action.blockType,
[ action.name ]: action.blockType,
};
case 'REMOVE_BLOCK_TYPES':
return omit( state, action.names );
Expand Down

0 comments on commit bee7370

Please sign in to comment.