From 1d864c222c73166562584bf3b91d4abd4bfe00b9 Mon Sep 17 00:00:00 2001 From: Tiago Noronha Date: Wed, 20 Feb 2019 19:03:08 +0000 Subject: [PATCH] Fix line break --- plugins/woocommerce-admin/client/layout/store-alerts/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce-admin/client/layout/store-alerts/index.js b/plugins/woocommerce-admin/client/layout/store-alerts/index.js index a057dca4c9f..57b3167106a 100644 --- a/plugins/woocommerce-admin/client/layout/store-alerts/index.js +++ b/plugins/woocommerce-admin/client/layout/store-alerts/index.js @@ -105,12 +105,12 @@ class StoreAlerts extends Component { const alert = alerts[ currentIndex ] ? alerts[ currentIndex ] : null; const type = alert && alert.type ? alert.type : null; const icon = type && alertTypes[ type ] ? alertTypes[ type ].icon : null; - const className = classnames( 'woocommerce-store-alerts', { 'is-alert-emergency': 'emergency' === type, 'is-alert-alert': 'alert' === type, 'is-alert-critical': 'critical' === type, } ); + return ( numberOfAlerts > 0 && (