diff --git a/client/src/features/projectsV2/show/ProjectV2Show.tsx b/client/src/features/projectsV2/show/ProjectV2Show.tsx index ebfe44fd67..1992197bd9 100644 --- a/client/src/features/projectsV2/show/ProjectV2Show.tsx +++ b/client/src/features/projectsV2/show/ProjectV2Show.tsx @@ -38,15 +38,28 @@ function ProjectV2Header({ project }: ProjectV2HeaderProps) { ); } +function ProjectV2Description({ description }: Pick) { + const desc = + description == null + ? "(no description)" + : description.length < 1 + ? "(no description)" + : description; + return ( + <> +

{desc}

+ + ); +} + interface ProjectV2DisplayProps { project: Project; } - function ProjectV2Display({ project }: ProjectV2DisplayProps) { return ( <> -

{project.description}

+ {project.repositories?.map((repo, i) => (
{repo}