Skip to content

Commit

Permalink
Platform Docs: Fix JSX error (#59967)
Browse files Browse the repository at this point in the history
* Update BlockEditorProvider comment

* Format the comment

* Format using spaces

Co-authored-by: michalczaplinski <czapla@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
  • Loading branch information
3 people authored Mar 20, 2024
1 parent f8302ee commit f802107
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions platform-docs/docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ registerCoreBlocks();
function Editor() {
const [blocks, setBlocks] = useState([]);
return (
{/*
The BlockEditorProvider is the wrapper of the block editor's state.
All the UI elements of the block editor need to be rendered within this provider.
*/}
/*
The BlockEditorProvider is the wrapper of the block editor's state.
All the UI elements of the block editor need to be rendered within this provider.
*/
<BlockEditorProvider
value={blocks}
onChange={setBlocks}
Expand Down

0 comments on commit f802107

Please sign in to comment.