Skip to content

Commit

Permalink
Fix typo in Slot Fills documentation (#65275)
Browse files Browse the repository at this point in the history
Unlinked contributors: greenworld.

Co-authored-by: t-hamano <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
  • Loading branch information
3 people authored Sep 12, 2024
1 parent 3368298 commit 0cbc7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference-guides/slotfills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ import { __ } from '@wordpress/i18n';
*/
const SiteEditorDocumentSettingPanel = () => {
// Retrieve information about the current post type.
const { isViewable } = useSelect( ( select ) => {
const isViewable = useSelect( ( select ) => {
const postTypeName = select( editorStore ).getCurrentPostType();
const postTypeObject = select( coreStore ).getPostType( postTypeName );

Expand Down

0 comments on commit 0cbc7be

Please sign in to comment.