diff --git a/packages/block-library/src/tab/edit.js b/packages/block-library/src/tab/edit.js index 720e7c48a12cc8..b9f923872a3f3b 100644 --- a/packages/block-library/src/tab/edit.js +++ b/packages/block-library/src/tab/edit.js @@ -42,9 +42,7 @@ export default function Edit( { attributes, clientId, setAttributes } ) { } }, [ label, setAttributes, tabIndex ] ); - const blockProps = useBlockProps( { - className: isActive ? 'is-active' : '', - } ); + const blockProps = useBlockProps(); const innerBlocksProps = useInnerBlocksProps( blockProps, { renderAppender: hasChildBlocks ? undefined @@ -54,6 +52,7 @@ export default function Edit( { attributes, clientId, setAttributes } ) {