From 8552a3340e434b784f2c02aaebd4316e8cbf5e47 Mon Sep 17 00:00:00 2001 From: Fredrik Oseberg Date: Mon, 24 Jan 2022 15:20:52 +0100 Subject: [PATCH] fix: set current target --- .../component/feature/CreateFeature/FeatureForm/FeatureForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/feature/CreateFeature/FeatureForm/FeatureForm.tsx b/frontend/src/component/feature/CreateFeature/FeatureForm/FeatureForm.tsx index c2126d6241..c1fd796118 100644 --- a/frontend/src/component/feature/CreateFeature/FeatureForm/FeatureForm.tsx +++ b/frontend/src/component/feature/CreateFeature/FeatureForm/FeatureForm.tsx @@ -65,7 +65,7 @@ const FeatureForm: React.FC = ({ - setType(e.target.value) + setType(e.target.currentTarget) } label={'Toggle type'} id="feature-type-select"