chore: fix some dev mode console errors (#2924)
This commit is contained in:
parent
d09c3addee
commit
4c5f013d15
@ -7,7 +7,7 @@ const store = createStore(
|
||||
reducer,
|
||||
compose(
|
||||
applyMiddleware(thunkMiddleware, waitUntilAction),
|
||||
window.devToolsExtension ? window.devToolsExtension() : f => f,
|
||||
window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__() : f => f,
|
||||
),
|
||||
);
|
||||
|
||||
|
@ -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)}
|
||||
/>
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user