From d488747461e5226dd4b04a81cb0cccd8be830fee Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Wed, 28 Jun 2023 12:53:16 +0100 Subject: [PATCH] Removes unused call (#51988) --- .../sidebar-navigation-screen-navigation-menu/index.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/index.js b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/index.js index 6bce0f356f7400..92810d1411fc39 100644 --- a/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/index.js +++ b/packages/edit-site/src/components/sidebar-navigation-screen-navigation-menu/index.js @@ -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 ]