Skip to content

Commit

Permalink
Update examples/search_examples/public/components/app.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Olson <[email protected]>
  • Loading branch information
lizozom and lukasolson authored Aug 5, 2020
1 parent b118ea0 commit 828ab62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/search_examples/public/components/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}}
Expand Down

0 comments on commit 828ab62

Please sign in to comment.