File tree 6 files changed +13
-13
lines changed
6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 63
63
"eslint-config-airbnb" : " ^14.1.0" ,
64
64
"eslint-plugin-import" : " ^2.2.0" ,
65
65
"eslint-plugin-jsx-a11y" : " ^4.0.0" ,
66
- "eslint-plugin-react" : " ^ 6.10.0" ,
66
+ "eslint-plugin-react" : " 6.10.0" ,
67
67
"git-directory-deploy" : " ^1.5.1" ,
68
68
"imports-loader" : " ^0.7.1" ,
69
69
"in-publish" : " ^2.0.0" ,
Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ export default class DateRangePicker extends React.Component {
270
270
renderCalendarInfo = { renderCalendarInfo }
271
271
/>
272
272
273
- { withFullScreenPortal &&
273
+ { withFullScreenPortal && (
274
274
< button
275
275
className = "DateRangePicker__close"
276
276
type = "button"
@@ -283,7 +283,7 @@ export default class DateRangePicker extends React.Component {
283
283
{ closeIcon }
284
284
</ div >
285
285
</ button >
286
- }
286
+ ) }
287
287
</ div >
288
288
) ;
289
289
}
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ export default class DateRangePickerInput extends React.Component {
147
147
'DateRangePickerInput--disabled' : disabled ,
148
148
} ) }
149
149
>
150
- { ( showDefaultInputIcon || customInputIcon !== null ) &&
150
+ { ( showDefaultInputIcon || customInputIcon !== null ) && (
151
151
< button
152
152
type = "button"
153
153
aria-label = { phrases . focusStartDate }
@@ -156,7 +156,7 @@ export default class DateRangePickerInput extends React.Component {
156
156
>
157
157
{ inputIcon }
158
158
</ button >
159
- }
159
+ ) }
160
160
161
161
< DateInput
162
162
id = { startDateId }
@@ -194,7 +194,7 @@ export default class DateRangePickerInput extends React.Component {
194
194
onKeyDownTab = { onEndDateTab }
195
195
/>
196
196
197
- { showClearDates &&
197
+ { showClearDates && (
198
198
< button
199
199
type = "button"
200
200
className = { cx ( 'DateRangePickerInput__clear-dates' , {
@@ -212,7 +212,7 @@ export default class DateRangePickerInput extends React.Component {
212
212
{ closeIcon }
213
213
</ div >
214
214
</ button >
215
- }
215
+ ) }
216
216
</ div >
217
217
) ;
218
218
}
Original file line number Diff line number Diff line change @@ -80,15 +80,15 @@ export default function DayPickerNavigation(props) {
80
80
81
81
return (
82
82
< div className = { navClassNames } >
83
- { ! isVerticalScrollable &&
83
+ { ! isVerticalScrollable && (
84
84
< span
85
85
aria-label = { phrases . jumpToPrevMonth }
86
86
className = { prevClassNames }
87
87
onClick = { onPrevMonthClick }
88
88
>
89
89
{ navPrevIcon }
90
90
</ span >
91
- }
91
+ ) }
92
92
93
93
< span
94
94
aria-label = { phrases . jumpToNextMonth }
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ export default class SingleDatePicker extends React.Component {
344
344
renderCalendarInfo = { renderCalendarInfo }
345
345
/>
346
346
347
- { withFullScreenPortal &&
347
+ { withFullScreenPortal && (
348
348
< button
349
349
className = "SingleDatePicker__close"
350
350
type = "button"
@@ -357,7 +357,7 @@ export default class SingleDatePicker extends React.Component {
357
357
{ closeIcon }
358
358
</ div >
359
359
</ button >
360
- }
360
+ ) }
361
361
</ div >
362
362
) ;
363
363
}
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ export default class SingleDatePickerInput extends React.Component {
119
119
onKeyDownTab = { onKeyDownTab }
120
120
/>
121
121
122
- { showClearDate &&
122
+ { showClearDate && (
123
123
< button
124
124
type = "button"
125
125
className = { cx ( 'SingleDatePickerInput__clear-date' , {
@@ -135,7 +135,7 @@ export default class SingleDatePickerInput extends React.Component {
135
135
{ closeIcon }
136
136
</ div >
137
137
</ button >
138
- }
138
+ ) }
139
139
</ div >
140
140
) ;
141
141
}
You can’t perform that action at this time.
0 commit comments