diff --git a/twenty-frontend/src/js/components/Tasks.tsx b/twenty-frontend/src/js/components/Tasks.tsx index 261dd5c..3f79ca8 100644 --- a/twenty-frontend/src/js/components/Tasks.tsx +++ b/twenty-frontend/src/js/components/Tasks.tsx @@ -7,7 +7,7 @@ import { useTasks } from "/hooks/queries/useTasks"; export function Tasks() { const params = useContext(ParamContext); - const projectId: Maybe = params.projectId + const projectId: Maybe = params.projectId ? parseInt(params.projectId) : null;