diff --git a/src/SnackbarItem/SnackbarItem.js b/src/SnackbarItem/SnackbarItem.js index 6a5e7ed4..fc5a0e11 100644 --- a/src/SnackbarItem/SnackbarItem.js +++ b/src/SnackbarItem/SnackbarItem.js @@ -72,26 +72,28 @@ class SnackbarItem extends Component { onClose={this.handleClose(key)} onExited={() => onExited(key)} > - - {!hideIconVariant ? : null} - {snack.message} - - )} - action={contentProps.action && ( - - {contentProps.action} - - )} - /> + {(!!snack && snack.children) || ( + + {!hideIconVariant ? : null} + {snack.message} + + )} + action={contentProps.action && ( + + {contentProps.action} + + )} + /> + )} ); }