Skip to content

Commit

Permalink
Update packages/blocks/src/api/registration.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo authored Nov 4, 2019
1 parent 95a6ebf commit 66f451f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/blocks/src/api/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
};

0 comments on commit 66f451f

Please sign in to comment.