Skip to content

Commit

Permalink
Blocks: Fix typo in the blockPatterns reducer (#18781)
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo authored Nov 27, 2019
1 parent 06a6502 commit 09cbff8
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 @@ -114,7 +114,7 @@ export function blockPatterns( state = {}, action ) {
return uniqBy( [
...get( blockType, [ 'patterns' ], [] ),
...get( state, [ blockType.name ], [] ),
], ( style ) => style.name );
], ( pattern ) => pattern.name );
} ),
};
case 'ADD_BLOCK_PATTERNS':
Expand Down

0 comments on commit 09cbff8

Please sign in to comment.