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 (
 		<details open={ attributes.initialOpen }>
-			<RichText.Content tagName="summary" value={ attributes.summaryContent } />
+			<RichText.Content
+				tagName="summary"
+				value={ attributes.summaryContent }
+			/>
 			<InnerBlocks.Content />
 		</details>
 	);