Skip to content

Commit

Permalink
Fix check for border support panel in global styles (#34516)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored Sep 3, 2021
1 parent e513983 commit 350d7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/sidebar/border-panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function useHasBorderPanel( { supports, name } ) {
useHasBorderWidthControl( { supports, name } ),
];

return controls.every( Boolean );
return controls.some( Boolean );
}

function useHasBorderColorControl( { supports, name } ) {
Expand Down

0 comments on commit 350d7e2

Please sign in to comment.