From a92017353b9fb123a3fdffca83953a3eb846570a Mon Sep 17 00:00:00 2001 From: Roland Bernard <rolbernard@unibz.it> Date: Tue, 8 Jun 2021 19:31:42 +0200 Subject: [PATCH] Fixed a bug in the Project component --- client/src/components/ui/Project/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/components/ui/Project/index.tsx b/client/src/components/ui/Project/index.tsx index ef6a7a0..58e18da 100644 --- a/client/src/components/ui/Project/index.tsx +++ b/client/src/components/ui/Project/index.tsx @@ -64,15 +64,15 @@ export default function Project({ project, large, demo }: ProjectProps) { if (demo) { return ( - <Link to={'/projects/' + project.id} className={'project ' + (large ? 'large' : '')}> + <div className={'project ' + (large ? 'large' : '')}> { content } - </Link> + </div> ); } else { return ( - <div className={'project ' + (large ? 'large' : '')}> + <Link to={'/projects/' + project.id} className={'project ' + (large ? 'large' : '')}> { content } - </div> + </Link> ); } } -- GitLab