From 6c247f1e1d69f817f585995a6d6a8301470814b4 Mon Sep 17 00:00:00 2001 From: Stanisław Zagórowski Date: Tue, 2 Jan 2024 16:30:03 +0100 Subject: front: fix images --- front/src/components/project.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'front/src') diff --git a/front/src/components/project.tsx b/front/src/components/project.tsx index 9415afd..cd5cb89 100644 --- a/front/src/components/project.tsx +++ b/front/src/components/project.tsx @@ -86,11 +86,13 @@ export function Project(props: ProjectDescriptor) { } - - {props.images.map((image) => ( - - ))} - + {props.images && props.images.length > 0 && + + {props.images.map((image) => ( + + ))} + + } ); } -- cgit v1.3.1