Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Correct spelling
Co-authored-by: Ben Dwyer <[email protected]>
  • Loading branch information
getdave and scruffian authored Sep 12, 2022
commit 787974803b40a66fc3e415d37ca73ca946882eb8
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/metadata-name.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function addLabelCallback( settings ) {
settings.__experimentalLabel = ( attributes, { context } ) => {
const { metadata } = attributes;

// In the list view, use the block's name sattribute as the label.
// In the list view, use the block's name attribute as the label.
if ( context === 'list-view' && metadata?.name ) {
return metadata.name;
}
Expand Down