Refactor requests, refactor users, add home dashboard

This commit is contained in:
2026-01-02 00:06:23 +01:00
parent 4b308a5c21
commit f7f4cc7d7d

View File

@ -1,6 +1,6 @@
"use client"; "use client";
import { deleteItems } from "@/actions/deleteItem"; // import { deleteItems } from "@/actions/deleteItem";
import { PencilIcon } from "lucide-react"; import { PencilIcon } from "lucide-react";
import Link from "next/link"; import Link from "next/link";
import { Button } from "../ui/button"; import { Button } from "../ui/button";
@ -22,7 +22,7 @@ export default function ItemList({ items, type }: { items: ItemProps[], type: st
// }, []); // }, []);
const handleDelete = (id: string) => { const handleDelete = (id: string) => {
deleteItems(id, type); // deleteItems(id, type);
}; };
// if (!isMounted) return null; // if (!isMounted) return null;