diff --git a/packages/blocks/src/store/reducer.js b/packages/blocks/src/store/reducer.js index ad947696a5f1c9..3b8534a99fdf3f 100644 --- a/packages/blocks/src/store/reducer.js +++ b/packages/blocks/src/store/reducer.js @@ -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':