From 09cbff87b4d3ad9053850d3b0e6fb6e74ad21f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=28Greg=29=20Zi=C3=B3=C5=82kowski?= Date: Wed, 27 Nov 2019 15:39:22 +0100 Subject: [PATCH] Blocks: Fix typo in the blockPatterns reducer (#18781) --- packages/blocks/src/store/reducer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':