From 5237640985c9e53e31e738ed975066c3a09f8462 Mon Sep 17 00:00:00 2001 From: Jerry Jones Date: Thu, 9 May 2024 12:25:51 +0900 Subject: [PATCH] Fix widgets editor inserter toggle --- packages/edit-widgets/src/store/private-selectors.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/edit-widgets/src/store/private-selectors.js b/packages/edit-widgets/src/store/private-selectors.js index fca6aa5ddb759c..ee2000ac128443 100644 --- a/packages/edit-widgets/src/store/private-selectors.js +++ b/packages/edit-widgets/src/store/private-selectors.js @@ -1,3 +1,7 @@ export function getListViewToggleRef( state ) { return state.listViewToggleRef; } + +export function getInserterSidebarToggleRef( state ) { + return state.inserterSidebarToggleRef; +}