Fix line break

This commit is contained in:
Tiago Noronha 2019-02-20 19:03:08 +00:00
parent 91b09bfe4b
commit 1d864c222c
1 changed files with 1 additions and 1 deletions

View File

@ -105,12 +105,12 @@ class StoreAlerts extends Component {
const alert = alerts[ currentIndex ] ? alerts[ currentIndex ] : null; const alert = alerts[ currentIndex ] ? alerts[ currentIndex ] : null;
const type = alert && alert.type ? alert.type : null; const type = alert && alert.type ? alert.type : null;
const icon = type && alertTypes[ type ] ? alertTypes[ type ].icon : null; const icon = type && alertTypes[ type ] ? alertTypes[ type ].icon : null;
const className = classnames( 'woocommerce-store-alerts', { const className = classnames( 'woocommerce-store-alerts', {
'is-alert-emergency': 'emergency' === type, 'is-alert-emergency': 'emergency' === type,
'is-alert-alert': 'alert' === type, 'is-alert-alert': 'alert' === type,
'is-alert-critical': 'critical' === type, 'is-alert-critical': 'critical' === type,
} ); } );
return ( return (
numberOfAlerts > 0 && ( numberOfAlerts > 0 && (
<Card <Card