Skip to content

Commit

Permalink
rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgefilipecosta committed Jul 16, 2024
1 parent 33d0bbf commit a5898f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/editor/src/components/post-actions/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ function useRenamePostAction( postType ) {
);
}

function OrderModal( { items, closeModal, onActionPerformed } ) {
function ReorderModal( { items, closeModal, onActionPerformed } ) {
const [ item ] = items;
const { editEntityRecord, saveEditedEntityRecord } =
useDispatch( coreStore );
Expand Down Expand Up @@ -722,7 +722,7 @@ function OrderModal( { items, closeModal, onActionPerformed } ) {
);
}

function useOrderPagesAction( postType ) {
function useReorderPagesAction( postType ) {
const supportsPageAttributes = useSelect(
( select ) => {
const { getPostType } = select( coreStore );
Expand All @@ -741,7 +741,7 @@ function useOrderPagesAction( postType ) {
isEligible( { status } ) {
return status !== 'trash';
},
RenderModal: OrderModal,
RenderModal: ReorderModal,
},
[ supportsPageAttributes ]
);
Expand Down

0 comments on commit a5898f0

Please sign in to comment.