Skip to content

Commit

Permalink
Removes unused call (WordPress#51988)
Browse files Browse the repository at this point in the history
getdave authored and sethrubenstein committed Jul 13, 2023

Unverified

The committer email address is not verified.
1 parent 3e2996f commit 96131c3
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -33,11 +33,8 @@ export default function SidebarNavigationScreenNavigationMenu() {

const { isSaving, isDeleting } = useSelect(
( select ) => {
const {
isSavingEntityRecord,
isDeletingEntityRecord,
getEditedEntityRecord: getEditedEntityRecordSelector,
} = select( coreStore );
const { isSavingEntityRecord, isDeletingEntityRecord } =
select( coreStore );

return {
isSaving: isSavingEntityRecord( 'postType', postType, postId ),
@@ -46,7 +43,6 @@ export default function SidebarNavigationScreenNavigationMenu() {
postType,
postId
),
getEditedEntityRecord: getEditedEntityRecordSelector,
};
},
[ postId ]

0 comments on commit 96131c3

Please sign in to comment.