Skip to content

Commit

Permalink
Remove unused vars (#47072)
Browse files Browse the repository at this point in the history
  • Loading branch information
stacimc authored Nov 3, 2020
1 parent f31da4b commit d6077e9
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@ export default ( { fontPairings, fontBase, fontHeadings, update } ) => {
{ fontPairings && fontHeadings && fontBase ? (
<div className="style-preview__font-options">
<div className="style-preview__font-options-desktop">
{ fontPairings.map( ( { label, headings, base, preview } ) => {
{ fontPairings.map( ( { label, headings, base } ) => {
const isSelected = headings === fontHeadings && base === fontBase;
const classes = classnames( 'font-pairings-panel', {
'is-selected': isSelected,
} );
return (
<Button
className={ classnames( 'style-preview__font-option', {
Expand Down

0 comments on commit d6077e9

Please sign in to comment.