diff --git a/docs/getting-started/create-block/author-experience.md b/docs/getting-started/create-block/author-experience.md index 140238eaff0f9..a52ea808f6965 100644 --- a/docs/getting-started/create-block/author-experience.md +++ b/docs/getting-started/create-block/author-experience.md @@ -79,6 +79,7 @@ All of this combined together, here's what the edit function looks like: ```jsx import { Placeholder, TextControl } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; +import { useBlockProps } from "@wordpress/block-editor"; export default function Edit( { attributes, isSelected, setAttributes } ) { return (