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 and tellthemachines committed Jul 3, 2023
1 parent 53c86fc commit aba35cb
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 aba35cb

Please sign in to comment.