From 99d693df6f99b1e9a2126844ae068889de11fae1 Mon Sep 17 00:00:00 2001 From: andrzej Date: Wed, 19 Jun 2024 21:58:19 +0200 Subject: [PATCH] better delete icon --- src/app/story/columns.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/story/columns.tsx b/src/app/story/columns.tsx index 6b36b9a..814ec46 100644 --- a/src/app/story/columns.tsx +++ b/src/app/story/columns.tsx @@ -4,9 +4,8 @@ import { StoryWithGenres } from "./page" import { ArrowUpDown, MoreHorizontal } from "lucide-react" import { Button } from "@/components/ui/button" import { Badge } from "@/components/ui/badge" -import { CircleX } from "lucide-react" +import { Trash2 } from "lucide-react" import { deleteStory } from "app/lib/del" -import { useRouter } from "next/navigation" const columnHelper = createColumnHelper() @@ -56,7 +55,7 @@ export const columns: ColumnDef[] = [ cell: ({ row }) => { return + } }