From 15827a273150a4e57aaecaf572d574f081b51fa3 Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Mon, 13 Jan 2025 15:14:10 -0700 Subject: [PATCH] satisfy the linter for now --- .../src/button/test/get-updated-link-attributes.js | 8 ++------ packages/block-library/src/categories/edit.js | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/block-library/src/button/test/get-updated-link-attributes.js b/packages/block-library/src/button/test/get-updated-link-attributes.js index bb3d3ef47f64c..3acd507cbc3a7 100644 --- a/packages/block-library/src/button/test/get-updated-link-attributes.js +++ b/packages/block-library/src/button/test/get-updated-link-attributes.js @@ -44,9 +44,7 @@ describe( 'getUpdatedLinkAttributes method', () => { expect( result.url ).toEqual( 'http://example.com' ); expect( result.linkTarget ).toEqual( '_blank' ); - expect( result.rel ).toEqual( - 'rel_value noopener nofollow' - ); + expect( result.rel ).toEqual( 'rel_value noopener nofollow' ); } ); it( 'should correctly update link attributes with opensInNewTab', () => { @@ -106,9 +104,7 @@ describe( 'getUpdatedLinkAttributes method', () => { expect( result.url ).toEqual( 'http://example.com' ); expect( result.linkTarget ).toEqual( '_blank' ); - expect( result.rel ).toEqual( - 'rel_value nofollow noopener' - ); + expect( result.rel ).toEqual( 'rel_value nofollow noopener' ); } ); it( 'should correctly handle rel with existing new tab values and remove duplicates', () => { diff --git a/packages/block-library/src/categories/edit.js b/packages/block-library/src/categories/edit.js index 308f902f19b84..cab5d934cb218 100644 --- a/packages/block-library/src/categories/edit.js +++ b/packages/block-library/src/categories/edit.js @@ -93,7 +93,7 @@ export default function CategoriesEdit( { const { id, link, count, name } = category; return (
  • - + { renderCategoryName( name ) } { showPostCounts && ` (${ count })` }