Skip to content

Commit

Permalink
chore: Update use of hasBackgroundPanel in RootMenu component
Browse files Browse the repository at this point in the history
  • Loading branch information
amitraj2203 committed Aug 31, 2024
1 parent 7b8110a commit 9cd986c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/edit-site/src/components/global-styles/root-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const {
useHasColorPanel,
useGlobalSetting,
useSettingsForBlockElement,
useHasBackgroundPanel,
} = unlock( blockEditorPrivateApis );

function RootMenu() {
Expand All @@ -34,7 +35,7 @@ function RootMenu() {
const hasShadowPanel = true; // useHasShadowPanel( settings );
const hasDimensionsPanel = useHasDimensionsPanel( settings );
const hasLayoutPanel = hasDimensionsPanel;
const hasBackgroundPanel = true; // useHasBackgroundPanel( settings );
const hasBackgroundPanel = useHasBackgroundPanel( settings );

return (
<>
Expand Down

0 comments on commit 9cd986c

Please sign in to comment.