Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Serong <[email protected]>
  • Loading branch information
ramonjd and andrewserong committed Feb 23, 2022
1 parent 94168d9 commit b1b0c69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ export const withColorPaletteStyles = createHigherOrderComponent(
* @return {Object} Default controls key/value pairs.
*/
export function getDefaultColorControls( blockType ) {
const defaultBorderControls = getBlockSupport( blockType, [
const defaultColorControls = getBlockSupport( blockType, [
COLOR_SUPPORT_KEY,
'__experimentalDefaultControls',
] );
Expand Down
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/dimensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export function useIsDimensionsSupportValid( blockName, feature ) {
* @return {Object} Default controls key/value pairs.
*/
export function getDefaultDimensionsControls( blockType ) {
const defaultBorderControls = getBlockSupport( blockType, [
const defaultDimensionsControls = getBlockSupport( blockType, [
SPACING_SUPPORT_KEY,
'__experimentalDefaultControls',
] );
Expand Down
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/typography.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function useIsTypographyDisabled( props = {} ) {
* @return {Object} Default controls key/value pairs.
*/
export function getDefaultTypographyControls( blockType ) {
const defaultBorderControls = getBlockSupport( blockType, [
const defaultTypographyControls = getBlockSupport( blockType, [
TYPOGRAPHY_SUPPORT_KEY,
'__experimentalDefaultControls',
] );
Expand Down

0 comments on commit b1b0c69

Please sign in to comment.