Skip to content

Commit

Permalink
WordPress#39732 Fixed a bug that caused settings.__experimentalBlockP…
Browse files Browse the repository at this point in the history
…atterns to be empty in blockpreview
  • Loading branch information
inc2734 committed May 3, 2022
1 parent 26f3f85 commit 3e84a47
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export function BlockPreview( {
);
const settings = useMemo( () => {
const _settings = { ...originalSettings };
_settings.__experimentalBlockPatterns = [];
return _settings;
}, [ originalSettings ] );
const renderedBlocks = useMemo( () => castArray( blocks ), [ blocks ] );
Expand Down

0 comments on commit 3e84a47

Please sign in to comment.