Fix ES6 keyword-spacing eslint rule [MAILPOET-1082]

This commit is contained in:
stoletniy
2017-09-18 18:20:55 +03:00
parent 0cdae52c66
commit 44d0341fb2
26 changed files with 81 additions and 82 deletions

View File

@@ -6,11 +6,11 @@ function Tooltip(props) {
let tooltipId = props.tooltipId;
let tooltip = props.tooltip;
// tooltip ID must be unique, defaults to tooltip text
if(!props.tooltipId && typeof props.tooltip === 'string') {
if (!props.tooltipId && typeof props.tooltip === 'string') {
tooltipId = props.tooltip;
}
if(typeof props.tooltip === 'string') {
if (typeof props.tooltip === 'string') {
tooltip = (<span
style={{
pointerEvents: 'all',