File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Shared/Components/DatePicker Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ const DateTimePicker = ({
53
53
} : DateTimePickerProps ) => {
54
54
const time = getTimeValue ( dateObject )
55
55
const selectedTimeOption = DEFAULT_TIME_OPTIONS . find ( ( option ) => option . value === time ) ?? DEFAULT_TIME_OPTIONS [ 0 ]
56
- const [ focused , setFocused ] = useState ( false )
56
+ const [ isFocused , setFocused ] = useState ( false )
57
57
58
58
const handleFocusChange = ( { focused } ) => {
59
59
setFocused ( focused )
@@ -81,7 +81,7 @@ const DateTimePicker = ({
81
81
placeholder = "Select date"
82
82
date = { moment ( dateObject ) }
83
83
onDateChange = { handleDateChange }
84
- focused = { focused }
84
+ focused = { isFocused }
85
85
onFocusChange = { handleFocusChange }
86
86
numberOfMonths = { 1 }
87
87
openDirection = "down"
You can’t perform that action at this time.
0 commit comments