Skip to content

Commit

Permalink
[Lens] Fix type check failure (#127277)
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula authored Mar 9, 2022
1 parent b1d6f87 commit 46a739e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ export const getXyVisualization = ({
...(palette && { palette }),
yConfig,
layerType: isReferenceLine ? layerTypes.REFERENCELINE : layerTypes.DATA,
};
} as XYLayerConfig;

const newLayers = prevState.layers.map((l) => (l.layerId === layerId ? newLayer : l));

Expand Down

0 comments on commit 46a739e

Please sign in to comment.