Skip to content

Commit 312fb7e

Browse files
authored
Accordion: Remove invalid isBlock prop from ToggleControl (#77776)
Co-authored-by: t-hamano <[email protected]>
1 parent c14240e commit 312fb7e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • packages/block-library/src/accordion

packages/block-library/src/accordion/edit.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ export default function Edit( {
140140
}
141141
>
142142
<ToggleControl
143-
isBlock
144143
label={ __( 'Auto-close' ) }
145144
onChange={ ( value ) => {
146145
setAttributes( {
@@ -160,7 +159,6 @@ export default function Edit( {
160159
onDeselect={ () => setAttributes( { showIcon: true } ) }
161160
>
162161
<ToggleControl
163-
isBlock
164162
label={ __( 'Show icon' ) }
165163
onChange={ ( value ) => {
166164
setAttributes( {

0 commit comments

Comments
 (0)