From 6471fd8407bc86043c8aafca72891a058e68a357 Mon Sep 17 00:00:00 2001 From: Youssef Date: Fri, 28 Jan 2022 15:18:40 +0100 Subject: [PATCH] fix: add autofocus to create environment screen --- .../component/environments/EnvironmentForm/EnvironmentForm.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/component/environments/EnvironmentForm/EnvironmentForm.tsx b/frontend/src/component/environments/EnvironmentForm/EnvironmentForm.tsx index cba4af6c11..ed29fc049d 100644 --- a/frontend/src/component/environments/EnvironmentForm/EnvironmentForm.tsx +++ b/frontend/src/component/environments/EnvironmentForm/EnvironmentForm.tsx @@ -51,6 +51,7 @@ const EnvironmentForm: React.FC = ({ onFocus={() => clearErrors()} onBlur={validateEnvironmentName} disabled={mode === 'Edit'} + autoFocus />