From 94216afabb71d2a2d6dbb027b24eae78593da5a0 Mon Sep 17 00:00:00 2001 From: Johann Levesque Date: Fri, 13 Dec 2024 08:11:57 -0500 Subject: [PATCH] Typos --- .../event-processor-children/map-event-processor.ts | 2 +- .../geoview-core/src/core/components/details/feature-info.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/geoview-core/src/api/event-processors/event-processor-children/map-event-processor.ts b/packages/geoview-core/src/api/event-processors/event-processor-children/map-event-processor.ts index 8a754694dfd..4f50671147d 100644 --- a/packages/geoview-core/src/api/event-processors/event-processor-children/map-event-processor.ts +++ b/packages/geoview-core/src/api/event-processors/event-processor-children/map-event-processor.ts @@ -112,7 +112,7 @@ export class MapEventProcessor extends AbstractEventProcessor { }, { equalityFn: (prev, curr) => { - // Quick length checks first (prevents re-render) and calls to to removeHighlight + // Quick length checks first (prevents re-render) and calls to removeHighlight if (prev === curr) return true; if (prev.length !== curr.length) return false; if (prev.length === 0) return true; diff --git a/packages/geoview-core/src/core/components/details/feature-info.tsx b/packages/geoview-core/src/core/components/details/feature-info.tsx index c6f0b005515..5a76c3147b2 100644 --- a/packages/geoview-core/src/core/components/details/feature-info.tsx +++ b/packages/geoview-core/src/core/components/details/feature-info.tsx @@ -171,7 +171,7 @@ export function FeatureInfo({ feature }: FeatureInfoProps): JSX.Element | null { // Effects useEffect(() => { - logger.logTraceUseEffect('FEATURE-INO - checkedFeatures', checkedFeatures); + logger.logTraceUseEffect('FEATURE-INFO - checkedFeatures', checkedFeatures); if (!featureData?.uid) return;