Skip to content

Commit

Permalink
Fix import in block editor’s readme example (#61218)
Browse files Browse the repository at this point in the history
`WritingFlow` import was unused and `BlockCanvas` import was missing.
Co-authored-by: stokesman <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
stokesman authored Apr 30, 2024
1 parent f99f65b commit 83737c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ _This package assumes that your code will run in an **ES2015+** environment. If
```js
import { useState } from 'react';
import {
BlockCanvas,
BlockEditorProvider,
BlockList,
WritingFlow,
} from '@wordpress/block-editor';

function MyEditorComponent() {
Expand Down

0 comments on commit 83737c1

Please sign in to comment.