There was an error while loading. Please reload this page.
1 parent e6893e1 commit b813173Copy full SHA for b813173
ActionButton.js
@@ -254,7 +254,9 @@ export default class ActionButton extends Component {
254
255
if (!this.state.active) return null;
256
257
- const actionButtons = !Array.isArray(children) ? [children] : children;
+ let actionButtons = !Array.isArray(children) ? [children] : children;
258
+
259
+ actionButtons = actionButtons.filter( actionButton => (typeof actionButton == 'object') )
260
261
const actionStyle = {
262
flex: 1,
@@ -349,7 +351,7 @@ ActionButton.propTypes = {
349
351
]),
350
352
353
renderIcon: PropTypes.func,
-
354
355
bgColor: PropTypes.string,
356
bgOpacity: PropTypes.number,
357
buttonColor: PropTypes.string,
0 commit comments