diff --git a/packages/edit-site/src/components/page-pages/index.js b/packages/edit-site/src/components/page-pages/index.js index dd27031538791..1215320f4df9f 100644 --- a/packages/edit-site/src/components/page-pages/index.js +++ b/packages/edit-site/src/components/page-pages/index.js @@ -337,11 +337,11 @@ export default function PagePages() { [ authors, view.type ] ); - const postTypActions = usePostActions( 'page' ); + const postTypeActions = usePostActions( 'page' ); const editAction = useEditPostAction(); const actions = useMemo( - () => [ editAction, ...postTypActions ], - [ postTypActions, editAction ] + () => [ editAction, ...postTypeActions ], + [ postTypeActions, editAction ] ); const onChangeView = useCallback( diff --git a/packages/edit-site/src/components/page-templates/index.js b/packages/edit-site/src/components/page-templates/index.js index 1c86bf83bfbab..fc9326a219105 100644 --- a/packages/edit-site/src/components/page-templates/index.js +++ b/packages/edit-site/src/components/page-templates/index.js @@ -323,11 +323,11 @@ export default function PageTemplates() { return filterSortAndPaginate( records, view, fields ); }, [ records, view, fields ] ); - const postTypActions = usePostActions( TEMPLATE_POST_TYPE ); + const postTypeActions = usePostActions( TEMPLATE_POST_TYPE ); const editAction = useEditPostAction(); const actions = useMemo( - () => [ editAction, ...postTypActions ], - [ postTypActions, editAction ] + () => [ editAction, ...postTypeActions ], + [ postTypeActions, editAction ] ); const onChangeView = useCallback(