From 0910f453965e7481efaa12a5503c16f421e1ac75 Mon Sep 17 00:00:00 2001 From: George Hotelling Date: Mon, 3 Aug 2020 15:12:08 -0400 Subject: [PATCH] Linter --- packages/block-library/src/details/edit.js | 4 +++- packages/block-library/src/details/save.js | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/details/edit.js b/packages/block-library/src/details/edit.js index 0c7b3a66e23c8..c6ff26894113e 100644 --- a/packages/block-library/src/details/edit.js +++ b/packages/block-library/src/details/edit.js @@ -66,7 +66,9 @@ export default ( { tagName="div" className="block-library-details__pseudo-summary" value={ attributes.summaryContent } - onChange={ ( summaryContent ) => setAttributes( { summaryContent } ) } + onChange={ ( summaryContent ) => + setAttributes( { summaryContent } ) + } placeholder={ __( 'Write a summary…' ) } aria-label={ __( 'Summary text' ) } /> diff --git a/packages/block-library/src/details/save.js b/packages/block-library/src/details/save.js index 2d7339a1dd351..c3c1d2d03108d 100644 --- a/packages/block-library/src/details/save.js +++ b/packages/block-library/src/details/save.js @@ -6,7 +6,10 @@ import { InnerBlocks, RichText } from '@wordpress/block-editor'; export default ( { attributes } ) => { return (
- +
);