From 828ab62ca80f59c7472cde743b7a2bf3aaa3d641 Mon Sep 17 00:00:00 2001 From: Liza Katz Date: Wed, 5 Aug 2020 11:54:05 +0300 Subject: [PATCH] Update examples/search_examples/public/components/app.tsx Co-authored-by: Lukas Olson --- examples/search_examples/public/components/app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/search_examples/public/components/app.tsx b/examples/search_examples/public/components/app.tsx index 80b651df370c2..28df11f17ace8 100644 --- a/examples/search_examples/public/components/app.tsx +++ b/examples/search_examples/public/components/app.tsx @@ -256,7 +256,7 @@ export const SearchExamplesApp = ({ options={formatFieldsToComboBox(numericFields)} selectedOptions={formatFieldToComboBox(selectedField)} singleSelection={true} - onChange={(option: any) => { + onChange={(option) => { const field = indexPattern.getFieldByName(option[0].label); setSelectedField(field || null); }}