Fix line break
This commit is contained in:
parent
91b09bfe4b
commit
1d864c222c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue