diff --git a/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx b/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx index 84a34b4f..fe9a693c 100644 --- a/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx +++ b/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx @@ -53,6 +53,16 @@ export const ProjectCard = ({ navigate(`projects/${project.id}`); }, [project.id, navigate]); + const navigateToSettingsOnClick = useCallback( + ( + e: React.MouseEvent | React.MouseEvent, + ) => { + e.stopPropagation(); + navigate(`projects/${project.id}/settings`); + }, + [project.id, navigate], + ); + return (
- Project settings - Delete project + + Project settings + + + Delete project +