Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed May 10, 2024
1 parent 4b6b24f commit 6ac0c80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/edit-site/src/components/page-pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
6 changes: 3 additions & 3 deletions packages/edit-site/src/components/page-templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6ac0c80

Please sign in to comment.