From 71c9658bce320c276a84a0816593bfc990774d91 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 19 Mar 2017 16:47:10 -0700 Subject: [PATCH] [Dev Deps] pin `eslint-plugin-react` to v6.10.0. Closes #383. Related to https://github.com/yannickcr/eslint-plugin-react/issues/1117. --- package.json | 2 +- src/components/DateRangePicker.jsx | 4 ++-- src/components/DateRangePickerInput.jsx | 8 ++++---- src/components/DayPickerNavigation.jsx | 4 ++-- src/components/SingleDatePicker.jsx | 4 ++-- src/components/SingleDatePickerInput.jsx | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) 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 && ( - } + )} ); }