Time selector was generating duplicate id's (#1117)

This commit is contained in:
Stan Silvert 2021-09-03 02:55:51 -04:00 committed by GitHub
parent e5e07eb1bc
commit d35582521d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,7 +83,6 @@ export const TimeSelector = ({
<TextInput <TextInput
{...rest} {...rest}
type="number" type="number"
id={`kc-time-${new Date().getTime()}`}
aria-label="kc-time" aria-label="kc-time"
min={min || 0} min={min || 0}
value={timeValue} value={timeValue}