diff --git a/src/components/ForestTypeModal.js b/src/components/ForestTypeModal.js index 6d6c918b..720425bd 100644 --- a/src/components/ForestTypeModal.js +++ b/src/components/ForestTypeModal.js @@ -23,14 +23,8 @@ function ForestTypeModal({ data, setIsForestTypeModalOpen }) { {data.la ? {data.la} : null} } - onClose={(e) => { - e.stopPropagation(); - setIsForestTypeModalOpen(false); - }} - onOpen={(e) => { - e.stopPropagation(); - setIsForestTypeModalOpen(true); - }} + onClose={(e) => setIsForestTypeModalOpen(false)} + onOpen={(e) => setIsForestTypeModalOpen(true)} trigger={