diff --git a/packages/block-editor/src/store/selectors.js b/packages/block-editor/src/store/selectors.js index d3dcb13a583149..d2288f9fc67cf1 100644 --- a/packages/block-editor/src/store/selectors.js +++ b/packages/block-editor/src/store/selectors.js @@ -1798,7 +1798,6 @@ export const __experimentalGetParsedPattern = createSelector( if ( ! pattern ) { return null; } - return { ...pattern, blocks: parse( pattern.content ), @@ -1818,10 +1817,6 @@ export const __experimentalGetParsedPattern = createSelector( export const __experimentalGetAllowedPatterns = createSelector( ( state, rootClientId = null ) => { const patterns = state.settings.__experimentalBlockPatterns; - if ( ! rootClientId ) { - return patterns; - } - const parsedPatterns = patterns.map( ( { name } ) => __experimentalGetParsedPattern( state, name ) );