Skip to content

Commit

Permalink
resolve layer type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
drewdaemon committed Sep 27, 2022
1 parent f71796d commit 4168799
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,6 @@ export function LayerPanel(
layerIndex={layerIndex}
isOnlyLayer={isOnlyLayer}
activeVisualization={activeVisualization}
// TODO - figure out the layerType types
layerType={activeVisualization.getLayerType(layerId, visualizationState)}
onRemoveLayer={onRemoveLayer}
onCloneLayer={onCloneLayer}
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/lens/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export type {
PieVisualizationState,
PieLayerState,
SharedPieLayerState,
LayerType,
} from '../common/types';

export type { DatatableVisualizationState } from './visualizations/datatable/visualization';
Expand Down Expand Up @@ -79,7 +80,6 @@ export type {
export type {
XYArgs,
XYRender,
LayerType,
LineStyle,
FillStyle,
YScaleType,
Expand Down

0 comments on commit 4168799

Please sign in to comment.