From 66f451f9a0d17a9d05557515bbd02c2f2106b902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=28Greg=29=20Zi=C3=B3=C5=82kowski?= Date: Mon, 4 Nov 2019 15:09:56 +0100 Subject: [PATCH] Update packages/blocks/src/api/registration.js --- packages/blocks/src/api/registration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/blocks/src/api/registration.js b/packages/blocks/src/api/registration.js index 898ec868a16817..7770d59bfd46ec 100644 --- a/packages/blocks/src/api/registration.js +++ b/packages/blocks/src/api/registration.js @@ -475,6 +475,6 @@ export const registerBlockPattern = ( blockName, pattern ) => { * @param {string} blockName Name of the block (example: “core/columns”). * @param {string} patternName Name of the pattern defined for the block. */ -export const unregisterBlockPatterns = ( blockName, patternName ) => { +export const unregisterBlockPattern = ( blockName, patternName ) => { dispatch( 'core/blocks' ).removeBlockPatterns( blockName, patternName ); };