From 9170b73862f43c00d696aee01c7e71c3c32ee9c2 Mon Sep 17 00:00:00 2001 From: Wahyu Kurniawan Date: Wed, 28 Feb 2024 16:48:09 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20docs:=20add=20todo=20to=20experi?= =?UTF-8?q?ment=20using=20`Link`=20componnt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/projects/ProjectCard/ProjectCard.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx b/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx index 64d716d5..1c91e51d 100644 --- a/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx +++ b/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx @@ -31,6 +31,8 @@ export interface ProjectCardProps project: Project; } +// TODO: Update the whole component to use `Link` from `react-router-dom` and remove the `useNavigate` hook, +// currently it's not possible to use `Link` because the dot menu is not a direct child of the `Link` component export const ProjectCard = ({ className, project,