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 authored and talldan committed Jun 28, 2023
1 parent 4d5a286 commit fe6bbb5
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 fe6bbb5

Please sign in to comment.