1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00

fix: add synthetic event

This commit is contained in:
Fredrik Oseberg 2022-01-24 15:20:28 +01:00
parent 125e7de91e
commit 8731177775

View File

@ -64,7 +64,9 @@ const FeatureForm: React.FC<IFeatureToggleForm> = ({
</p>
<FeatureTypeSelect
value={type}
onChange={e => setType(e.target.value)}
onChange={(e: React.SyntheticEvent) =>
setType(e.target.value)
}
label={'Toggle type'}
id="feature-type-select"
editable