Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Feb 27, 2024
1 parent f8ccd62 commit 803a205
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/block-editor/src/store/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -2279,7 +2279,7 @@ export const __experimentalGetParsedPattern = createRegistrySelector(
return null;
}
const blocks = parse( pattern.content, {
__unstableSkipMigrationLogs: true,
__unstableSkipMigrationLogs: true,
} );
if ( blocks.length === 1 ) {
blocks[ 0 ].attributes = {
Expand Down
5 changes: 4 additions & 1 deletion test/e2e/specs/editor/various/patterns.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ test.describe( 'Unsynced pattern', () => {
...before,
{
...before[ 0 ],
metadata: { categories: [ 'contact-details' ] },
attributes: {
...before[ 0 ].attributes,
metadata: { categories: [ 'contact-details' ] },
},
},
] );
} );
Expand Down

0 comments on commit 803a205

Please sign in to comment.