this always gets filtered

main
Mike Fix 5 years ago
parent d49c975223
commit f53a9178f2
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -116,8 +116,7 @@ class Carbon extends React.PureComponent {
`font-weight: ${changes.bold ? 'bold' : 'initial'}`, `font-weight: ${changes.bold ? 'bold' : 'initial'}`,
`font-style: ${changes.italics ? 'italic' : 'initial'}`, `font-style: ${changes.italics ? 'italic' : 'initial'}`,
`text-decoration: ${changes.underline ? 'underline' : 'initial'}`, `text-decoration: ${changes.underline ? 'underline' : 'initial'}`,
changes.color && `color: ${changes.color} !important`, changes.color && `color: ${changes.color} !important`
''
] ]
.filter(Boolean) .filter(Boolean)
.join('; ') .join('; ')

Loading…
Cancel
Save