mirror of
https://github.com/vercel/next-learn.git
synced 2026-07-08 14:35:16 +00:00
* Organize components * Add delete invoice component and action * Update customer emails * Add delete button, pending/paid UI, and placeholder edit button * Fix build errors * More errors
7 lines
141 B
TypeScript
7 lines
141 B
TypeScript
"use server";
|
|
|
|
export async function deleteInvoice(id: number) {
|
|
// TO DO: Add delete invoice logic
|
|
console.log("Delete invoice", id);
|
|
}
|