Add page deletion functionality with confirmation dialog and API endpoin

This commit is contained in:
Riccardo Giorato
2025-12-26 21:42:56 +01:00
parent d8f0046c14
commit ddf05e6259
6 changed files with 281 additions and 93 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
"use client";
import { Plus, Loader2, Key } from "lucide-react";
import { Plus, Loader2, Key, Trash2 } from "lucide-react";
import { Button } from "@/components/ui/button";
import { UserButton, SignedIn } from "@clerk/nextjs";