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,
|
reducer,
|
||||||
compose(
|
compose(
|
||||||
applyMiddleware(thunkMiddleware, waitUntilAction),
|
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
|
<DropdownItem
|
||||||
key={idx}
|
key={idx}
|
||||||
label={headingOptions[optionKey]}
|
label={headingOptions[optionKey]}
|
||||||
className={selectionHasBlock(optionKey) && 'active'}
|
className={selectionHasBlock(optionKey) ? 'active' : undefined}
|
||||||
onClick={() => onBlockClick(undefined, optionKey)}
|
onClick={() => onBlockClick(undefined, optionKey)}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user