Skip to content

Commit

Permalink
TimeRangeInput: Fix clear button type (#56545)
Browse files Browse the repository at this point in the history
  • Loading branch information
Clarity-89 committed Oct 10, 2022
1 parent 08f9605 commit d332747
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ export const TimeRangeInput: FC<TimeRangeInputProps> = ({

return (
<div className={styles.container}>
<button className={styles.pickerInput} aria-label={selectors.components.TimePicker.openButton} onClick={onOpen}>
<button
type="button"
className={styles.pickerInput}
aria-label={selectors.components.TimePicker.openButton}
onClick={onOpen}
>
{isValidTimeRange(value) ? (
<TimePickerButtonLabel value={value} timeZone={timeZone} />
) : (
Expand Down

0 comments on commit d332747

Please sign in to comment.