diff --git a/frontend/src/App/ProjectFinder.tsx b/frontend/src/App/ProjectFinder.tsx index 060c39c..bca1134 100644 --- a/frontend/src/App/ProjectFinder.tsx +++ b/frontend/src/App/ProjectFinder.tsx @@ -7,6 +7,7 @@ import theme from './ThemeStyles'; import ControlledInput from 'shared/components/ControlledInput'; import { CaretDown, CaretRight } from 'shared/icons'; import useStickyState from 'shared/hooks/useStickyState'; +import { usePopup } from 'shared/components/PopupMenu'; const colors = [theme.colors.primary, theme.colors.secondary]; @@ -161,6 +162,7 @@ const ProjectFinder = () => { const { loading, data } = useGetProjectsQuery({ fetchPolicy: 'cache-and-network' }); const [search, setSearch] = useState(''); const [minified, setMinified] = useStickyState>([], 'project_finder_minified'); + const { hidePopup } = usePopup(); if (data) { const { teams } = data; const projects = data.projects.filter(p => { @@ -209,7 +211,7 @@ const ProjectFinder = () => { {team.projects.map((project, idx) => ( - + hidePopup()} to={`/projects/${project.id}`}>