From b107f63e49b7654c9ea92121aae22501f369daf4 Mon Sep 17 00:00:00 2001 From: Yulia Cech Date: Thu, 17 Dec 2020 19:10:29 +0100 Subject: [PATCH] Fixed types error --- .../es_ui_shared/public/components/cron_editor/cron_editor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.tsx b/src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.tsx index 38279b094863d..19af93b67aca0 100644 --- a/src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.tsx +++ b/src/plugins/es_ui_shared/public/components/cron_editor/cron_editor.tsx @@ -67,7 +67,7 @@ interface Props { fieldToPreferredValueMap: FieldToValueMap; frequency: Frequency; }) => void; - autoFocus: boolean; + autoFocus?: boolean; } type State = FieldToValueMap;