From edecb4f2be3a5df58a45eccd12dd9f8739c14fd0 Mon Sep 17 00:00:00 2001 From: Wylie Conlon Date: Tue, 1 Jun 2021 18:49:41 -0400 Subject: [PATCH] Remove copy+paste issue --- .../dimension_panel/reference_editor.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/reference_editor.tsx b/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/reference_editor.tsx index 8a3d6d0b6c52e0..c473be05ba3154 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/reference_editor.tsx +++ b/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/reference_editor.tsx @@ -44,8 +44,7 @@ export interface ReferenceEditorProps { validation: RequiredReference; columnId: string; updateLayer: ( - setter: IndexPatternLayer | ((prevLayer: IndexPatternLayer) => IndexPatternLayer), - shouldClose?: boolean + setter: IndexPatternLayer | ((prevLayer: IndexPatternLayer) => IndexPatternLayer) ) => void; currentIndexPattern: IndexPattern; existingFields: IndexPatternPrivateState['existingFields'];