From d3d37bd83fbe334f568bac6328f8605ee6b50676 Mon Sep 17 00:00:00 2001 From: Erik Escoffier Date: Thu, 19 Oct 2023 13:38:16 +0200 Subject: [PATCH] Properly locate handler to trigger custom AoI modal Co-authored-by: Daniel da Silva --- app/scripts/components/analysis/define/aoi-selector.tsx | 2 +- .../common/map/controls/aoi/custom-aoi-control.tsx | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/app/scripts/components/analysis/define/aoi-selector.tsx b/app/scripts/components/analysis/define/aoi-selector.tsx index 5c36a75d9..2915c87c4 100644 --- a/app/scripts/components/analysis/define/aoi-selector.tsx +++ b/app/scripts/components/analysis/define/aoi-selector.tsx @@ -120,7 +120,7 @@ export default function AoiSelector({ const [aoiModalRevealed, setAoIModalRevealed] = useState(false); return ( - + - - setAoIModalRevealed(true)} - /> + setAoIModalRevealed(true)}> +