Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
fullofcaffeine committed May 11, 2024
1 parent cb6b93d commit b7dd66f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
Expand Up @@ -203,8 +203,6 @@ export default function FontAppearanceControl( props ) {
);
};

console.debug( 'selectOptions: ', selectOptions );

return (
hasStylesOrWeights && (
<CustomSelectControl
Expand All @@ -214,11 +212,9 @@ export default function FontAppearanceControl( props ) {
describedBy={ getDescribedBy() }
options={ selectOptions }
value={ currentSelection }
onChange={ ( { selectedItem } ) => {
console.debug( 'selectedItem:' );
console.debug( selectedItem );
onChange( selectedItem.style );
} }
onChange={ ( { selectedItem } ) =>
onChange( selectedItem.style )
}
/>
)
);
Expand Down
Expand Up @@ -223,8 +223,6 @@ export default function TypographyPanel( {
fontStyle: newFontStyle,
fontWeight: newFontWeight,
} ) => {
console.debug(fontStyle);
console.debug(fontWeight);
onChange( {
...value,
typography: {
Expand Down
Expand Up @@ -312,10 +312,6 @@ describe.each( [

selectedItem: expect.objectContaining( {
name: 'aquamarine',
style: {
backgroundColor: 'rgb(127, 255, 212)',
rotate: '13deg',
},
} ),
type: '',
} )
Expand Down

0 comments on commit b7dd66f

Please sign in to comment.