From b1de1477a648d99445e527d11f6cbebaa4dd8818 Mon Sep 17 00:00:00 2001 From: andrzej Date: Wed, 26 Jun 2024 12:45:58 +0200 Subject: [PATCH] add edit button --- src/app/ui/tables/actions.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/ui/tables/actions.tsx b/src/app/ui/tables/actions.tsx index 67e575a..4ee5e80 100644 --- a/src/app/ui/tables/actions.tsx +++ b/src/app/ui/tables/actions.tsx @@ -1,6 +1,6 @@ import { Dialog, DialogTrigger, DialogClose, DialogDescription, DialogContent, DialogTitle, DialogHeader, DialogFooter } from "@/components/ui/dialog" import Link from "next/link" -import { Trash2, Search } from "lucide-react" +import { Trash2, Search, Pencil } from "lucide-react" import { Button } from "@/components/ui/button" export function actions({ pathname, deleteFn }: { pathname: string, deleteFn: (id: number) => void }) { @@ -13,6 +13,9 @@ export function actions({ pathname, deleteFn }: { pathname: string, deleteFn: (i : "" } + + +