1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

fix: set current target

This commit is contained in:
Fredrik Oseberg 2022-01-24 15:20:52 +01:00
parent 8731177775
commit 8552a3340e

View File

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