From b18c9ac5813a5e9a355282323e0d250d05723cb8 Mon Sep 17 00:00:00 2001 From: lutangar Date: Tue, 31 Oct 2023 19:06:48 +0100 Subject: [PATCH] chore: fix lint and typing issues --- apps/frontend/src/components/ExternalLink.tsx | 1 + .../src/components/keplerGl/factories/map/LayerHoverInfo.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/frontend/src/components/ExternalLink.tsx b/apps/frontend/src/components/ExternalLink.tsx index a2d43c8b..d9d1036c 100644 --- a/apps/frontend/src/components/ExternalLink.tsx +++ b/apps/frontend/src/components/ExternalLink.tsx @@ -1,3 +1,4 @@ +/* eslint-disable react/jsx-no-useless-fragment */ import React, { PropsWithChildren } from 'react'; export const ExternalLink = ({ href, children }: PropsWithChildren<{ href?: string }>) => diff --git a/apps/frontend/src/components/keplerGl/factories/map/LayerHoverInfo.tsx b/apps/frontend/src/components/keplerGl/factories/map/LayerHoverInfo.tsx index 74598bd9..b3c4c969 100644 --- a/apps/frontend/src/components/keplerGl/factories/map/LayerHoverInfo.tsx +++ b/apps/frontend/src/components/keplerGl/factories/map/LayerHoverInfo.tsx @@ -170,7 +170,7 @@ export interface LayerHoverInfoProps extends ExpandedProps { fieldsToShow: TooltipField[]; layer: MapboxLayerGL; data: DataRow & { - points: any[]; + points: [number, number][]; elevationValue: string; colorValue: string; };