diff --git a/src/components/CreationCohort/DiagramView/components/PopulationCard/components/PopulationRightPanel.tsx b/src/components/CreationCohort/DiagramView/components/PopulationCard/components/PopulationRightPanel.tsx index 447a0b22c..75741cf82 100644 --- a/src/components/CreationCohort/DiagramView/components/PopulationCard/components/PopulationRightPanel.tsx +++ b/src/components/CreationCohort/DiagramView/components/PopulationCard/components/PopulationRightPanel.tsx @@ -28,11 +28,11 @@ const PopulationRightPanel: React.FC = (props) => { const [_selectedPopulation, _setSelectedPopulation] = useState(selectedPopulation) const [searchInput, setSearchInput] = useState('') - useEffect(() => { - _setSelectedPopulation( - selectedPopulation !== null ? (selectedPopulation?.filter((elem) => elem !== undefined) as ScopeTreeRow[]) : [] - ) - }, [open]) // eslint-disable-line + // useEffect(() => { + // _setSelectedPopulation( + // selectedPopulation !== null ? (selectedPopulation?.filter((elem) => elem !== undefined) as ScopeTreeRow[]) : [] + // ) + // }, [open]) // eslint-disable-line /** * Render