Skip to content

Commit

Permalink
MMT-3960: Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
htranho committed Jan 3, 2025
1 parent 4c2d4d6 commit 756d4b7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const CustomDateTimeWidget = ({
handleBlur()
}

const handleDateInput = (event) => {
const handleDateInput = () => {
// Saves the input method for handleChange
dateInputMethod = 'typed'
}
Expand All @@ -127,7 +127,7 @@ const CustomDateTimeWidget = ({
locale="en-GB" // Use the UK locale, located in the Greenwich Mean Time (GMT) zone,
onBlur={handleBlur}
onChange={handleChange}
onChangeRaw={(event) => handleDateInput(event)}
onChangeRaw={() => handleDateInput()}
onFocus={handleFocus}
open={showCalender}
peekNextMonth
Expand Down

0 comments on commit 756d4b7

Please sign in to comment.