Skip to content

Commit

Permalink
Removes unused call (#51988)
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave authored Jun 28, 2023
1 parent ea76918 commit d488747
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ),
Expand All @@ -46,7 +43,6 @@ export default function SidebarNavigationScreenNavigationMenu() {
postType,
postId
),
getEditedEntityRecord: getEditedEntityRecordSelector,
};
},
[ postId ]
Expand Down

0 comments on commit d488747

Please sign in to comment.