From 6ac0c808db279819b313d23520aafbcc86b010c6 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 10 May 2024 14:14:03 +0100 Subject: [PATCH] Fix typo --- packages/edit-site/src/components/page-pages/index.js | 6 +++--- packages/edit-site/src/components/page-templates/index.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/edit-site/src/components/page-pages/index.js b/packages/edit-site/src/components/page-pages/index.js index dd270315387916..1215320f4df9f5 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 1c86bf83bfbab6..fc9326a2191058 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(