TimeRangeInput: Fix clear button type (#56545)

This commit is contained in:
Alex Khomenko
2022-10-10 17:05:30 +03:00
committed by GitHub
parent 08f9605d83
commit d332747c38
@@ -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} />
) : (