This repository was archived by the owner on Jun 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
import 'react-dates/initialize' ;
2
2
import { DateRangePicker } from 'react-dates' ;
3
3
import PropTypes from 'prop-types' ;
4
- import React , { Component } from 'react'
4
+ import React , { Component } from 'react' ;
5
5
import uniqid from 'uniqid' ;
6
6
7
7
import convertToMoment from '../utils/convertToMoment' ;
@@ -24,9 +24,9 @@ export default class DatePickerRange extends Component {
24
24
this . onDatesChange = this . onDatesChange . bind ( this ) ;
25
25
this . isOutsideRange = this . isOutsideRange . bind ( this ) ;
26
26
this . state = {
27
- focused : false ,
28
- start_date_id : props . start_date_id || uniqid ( ) ,
29
- end_date_id : props . end_date_id || uniqid ( )
27
+ focused : false ,
28
+ start_date_id : props . start_date_id || uniqid ( ) ,
29
+ end_date_id : props . end_date_id || uniqid ( ) ,
30
30
} ;
31
31
}
32
32
@@ -108,7 +108,7 @@ export default class DatePickerRange extends Component {
108
108
style,
109
109
className,
110
110
start_date_id,
111
- end_date_id
111
+ end_date_id,
112
112
} = this . props ;
113
113
114
114
const { initial_visible_month} = convertToMoment ( this . props , [
You can’t perform that action at this time.
0 commit comments