diff --git a/package.json b/package.json index 58c6c7d..08a9923 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "eslint-config-airbnb": "^14.1.0", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^4.0.0", - "eslint-plugin-react": "^6.10.0", + "eslint-plugin-react": "6.10.0", "git-directory-deploy": "^1.5.1", "imports-loader": "^0.7.1", "in-publish": "^2.0.0", diff --git a/src/components/DateRangePicker.jsx b/src/components/DateRangePicker.jsx index c645e75..c171630 100644 --- a/src/components/DateRangePicker.jsx +++ b/src/components/DateRangePicker.jsx @@ -270,7 +270,7 @@ export default class DateRangePicker extends React.Component { renderCalendarInfo={renderCalendarInfo} /> - {withFullScreenPortal && + {withFullScreenPortal && ( - } + )} ); } diff --git a/src/components/DateRangePickerInput.jsx b/src/components/DateRangePickerInput.jsx index 181f122..ee1a1d5 100644 --- a/src/components/DateRangePickerInput.jsx +++ b/src/components/DateRangePickerInput.jsx @@ -147,7 +147,7 @@ export default class DateRangePickerInput extends React.Component { 'DateRangePickerInput--disabled': disabled, })} > - {(showDefaultInputIcon || customInputIcon !== null) && + {(showDefaultInputIcon || customInputIcon !== null) && ( - } + )} - {showClearDates && + {showClearDates && ( - } + )} ); } diff --git a/src/components/DayPickerNavigation.jsx b/src/components/DayPickerNavigation.jsx index 4504daa..89c45c9 100644 --- a/src/components/DayPickerNavigation.jsx +++ b/src/components/DayPickerNavigation.jsx @@ -80,7 +80,7 @@ export default function DayPickerNavigation(props) { return (
- {!isVerticalScrollable && + {!isVerticalScrollable && ( {navPrevIcon} - } + )} - {withFullScreenPortal && + {withFullScreenPortal && ( - } + )}
); } diff --git a/src/components/SingleDatePickerInput.jsx b/src/components/SingleDatePickerInput.jsx index 7802c1e..1a9474d 100644 --- a/src/components/SingleDatePickerInput.jsx +++ b/src/components/SingleDatePickerInput.jsx @@ -119,7 +119,7 @@ export default class SingleDatePickerInput extends React.Component { onKeyDownTab={onKeyDownTab} /> - {showClearDate && + {showClearDate && ( - } + )} ); }