Skip to content

Commit

Permalink
Update placeholder key
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz committed Jun 26, 2023
1 parent b5ab3ff commit 1ff9a39
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,13 @@ function BlockPatternList( {
showTooltip={ showTitlesAsTooltip }
/>
) : (
<BlockPatternPlaceholder key={ pattern.name } />
<BlockPatternPlaceholder
key={
pattern.name === 'core/block'
? pattern.id
: pattern.name
}
/>
);
} ) }
</Composite>
Expand Down

0 comments on commit 1ff9a39

Please sign in to comment.