From 6614fb08b0dbb1d989589e5c3064ab43699257fc Mon Sep 17 00:00:00 2001 From: ntsekouras Date: Fri, 13 Jan 2023 19:42:31 +0200 Subject: [PATCH] [Documentation]: Fix typo in `InspectorControls` docs --- .../src/components/inspector-controls/README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/block-editor/src/components/inspector-controls/README.md b/packages/block-editor/src/components/inspector-controls/README.md index 2799431917b75e..0ce3310b7b1fb4 100644 --- a/packages/block-editor/src/components/inspector-controls/README.md +++ b/packages/block-editor/src/components/inspector-controls/README.md @@ -188,9 +188,7 @@ Inspector Advanced Controls appear under the _Advanced_ panel of a block's [Insp ### Usage ```js -import { - TextControl, -} from '@wordpress/components'; +import { TextControl } from '@wordpress/components'; import { InspectorControls, InspectorAdvancedControls, @@ -199,11 +197,9 @@ import { function MyBlockEdit( { attributes, setAttributes } ) { return ( <> -
- { /* Block markup goes here */ } -
{ /* Block markup goes here */ } - { /* Regular control goes here */ + { /* Regular control goes here */ }