From 0ec7b39532efde9f65bf06bf67041631e47c0a51 Mon Sep 17 00:00:00 2001 From: atrincas Date: Tue, 17 Dec 2024 09:08:11 +0100 Subject: [PATCH] Refactor project columns to include link navigation and clean up imports --- client/src/containers/my-projects/columns.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/client/src/containers/my-projects/columns.tsx b/client/src/containers/my-projects/columns.tsx index 9248703d..72771202 100644 --- a/client/src/containers/my-projects/columns.tsx +++ b/client/src/containers/my-projects/columns.tsx @@ -1,8 +1,6 @@ -import { - DotsHorizontalIcon, - // ExclamationTriangleIcon, - TrashIcon, -} from "@radix-ui/react-icons"; +import Link from "next/link"; + +import { DotsHorizontalIcon, TrashIcon } from "@radix-ui/react-icons"; import { ACTIVITY } from "@shared/entities/activity.enum"; import { CustomProject as CustomProjectEntity } from "@shared/entities/custom-project.entity"; import { Table as TableInstance, Row, ColumnDef } from "@tanstack/react-table"; @@ -72,7 +70,9 @@ export const columns: CustomColumn[] = [ onCheckedChange={(value) => row.toggleSelected(!!value)} aria-label="Select row" /> - {getValue()} + ), },