chore: fix some dev mode console errors (#2924)

This commit is contained in:
Erez Rokah
2019-11-28 11:02:19 +02:00
committed by GitHub
parent d09c3addee
commit 4c5f013d15
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ export default class Toolbar extends React.Component {
<DropdownItem
key={idx}
label={headingOptions[optionKey]}
className={selectionHasBlock(optionKey) && 'active'}
className={selectionHasBlock(optionKey) ? 'active' : undefined}
onClick={() => onBlockClick(undefined, optionKey)}
/>
),