Skip to content

Commit

Permalink
Add comment to explain the different keys
Browse files Browse the repository at this point in the history
  • Loading branch information
glendaviesnz committed Jun 26, 2023
1 parent 1ff9a39 commit 8d73990
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ function BlockPatternList( {
return isShown ? (
<BlockPattern
key={
// User added unsynced patterns do not have a unique name so we use the id instead.
pattern.name === 'core/block'
? pattern.id
: pattern.name
Expand Down

0 comments on commit 8d73990

Please sign in to comment.