From 873117777557ed148d177330afde08d9cc3cb652 Mon Sep 17 00:00:00 2001
From: Fredrik Oseberg
Date: Mon, 24 Jan 2022 15:20:28 +0100
Subject: [PATCH] fix: add synthetic event
---
.../feature/CreateFeature/FeatureForm/FeatureForm.tsx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/frontend/src/component/feature/CreateFeature/FeatureForm/FeatureForm.tsx b/frontend/src/component/feature/CreateFeature/FeatureForm/FeatureForm.tsx
index e56502a99a..c2126d6241 100644
--- a/frontend/src/component/feature/CreateFeature/FeatureForm/FeatureForm.tsx
+++ b/frontend/src/component/feature/CreateFeature/FeatureForm/FeatureForm.tsx
@@ -64,7 +64,9 @@ const FeatureForm: React.FC = ({
setType(e.target.value)}
+ onChange={(e: React.SyntheticEvent) =>
+ setType(e.target.value)
+ }
label={'Toggle type'}
id="feature-type-select"
editable