diff --git a/src/features/planSimulation/components/modals/DownloadSimulationResultsModal.tsx b/src/features/planSimulation/components/modals/DownloadSimulationResultsModal.tsx index 2e70e217..f11015ab 100644 --- a/src/features/planSimulation/components/modals/DownloadSimulationResultsModal.tsx +++ b/src/features/planSimulation/components/modals/DownloadSimulationResultsModal.tsx @@ -26,8 +26,8 @@ const DownloadSimulationResultsModal = ({ inputData, closeHandler, hierarchyIden const mapData = useRef(); let link = useRef(null); const [activeTab, setActiveTab] = useState('CSV'); - const [includeParent, setIncludeParent] = useState(); - const [downLoadFullHierarchy, setDownLoadFullHierarchy] = useState(); + // const [includeParent, setIncludeParent] = useState(); + // const [downLoadFullHierarchy, setDownLoadFullHierarchy] = useState(); const { register, @@ -267,44 +267,44 @@ const DownloadSimulationResultsModal = ({ inputData, closeHandler, hierarchyIden ); } - const getFullHierarchySlider = () => { - return ( - - {t('simulationPage.downloadFullHierarchy')} - { - setIncludeParent(false); - setDownLoadFullHierarchy(e.target.checked); - }} - /> - - ); - }; - const getIncludeParentSlider = () => { - return ( - - {t('simulationPage.includeParentData')} - { - setIncludeParent(e.target.checked); - setDownLoadFullHierarchy(false); - }} - /> - - ); - }; + // const getFullHierarchySlider = () => { + // return ( + // + // {t('simulationPage.downloadFullHierarchy')} + // { + // setIncludeParent(false); + // setDownLoadFullHierarchy(e.target.checked); + // }} + // /> + // + // ); + // }; + // const getIncludeParentSlider = () => { + // return ( + // + // {t('simulationPage.includeParentData')} + // { + // setIncludeParent(e.target.checked); + // setDownLoadFullHierarchy(false); + // }} + // /> + // + // ); + // }; return (