diff --git a/editor/store/effects.js b/editor/store/effects.js index e2c4cf5953fc88..10a4896ef73e29 100644 --- a/editor/store/effects.js +++ b/editor/store/effects.js @@ -347,11 +347,6 @@ export default { result.then( ( reusableBlockOrBlocks ) => { - dispatch( { - type: 'FETCH_REUSABLE_BLOCKS_SUCCESS', - id, - } ); - dispatch( receiveReusableBlocks( map( castArray( reusableBlockOrBlocks ), ( reusableBlock ) => ( { @@ -359,6 +354,11 @@ export default { parsedBlock: parse( reusableBlock.content )[ 0 ], } ) ) ) ); + + dispatch( { + type: 'FETCH_REUSABLE_BLOCKS_SUCCESS', + id, + } ); }, ( error ) => { dispatch( {