From 3d612dd54ccc20ef8c730799e8b647d64b45e003 Mon Sep 17 00:00:00 2001 From: Sukhendu Sekhar Guria Date: Tue, 14 Jan 2025 17:51:49 +0530 Subject: [PATCH] Remove fallback text --- packages/block-library/src/details/save.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/block-library/src/details/save.js b/packages/block-library/src/details/save.js index a80369478924b5..fffd4a6bf621ac 100644 --- a/packages/block-library/src/details/save.js +++ b/packages/block-library/src/details/save.js @@ -2,19 +2,15 @@ * WordPress dependencies */ import { RichText, useBlockProps, InnerBlocks } from '@wordpress/block-editor'; -import { __ } from '@wordpress/i18n'; export default function save( { attributes } ) { const { showContent } = attributes; - const summary = attributes.summary?.toString().trim() - ? attributes.summary - : __( 'Details' ); const blockProps = useBlockProps.save(); return (
- +