Skip to content

Commit f83f04c

Browse files
authored
Update buttons.tsx
1 parent 29f96d1 commit f83f04c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashboard/starter-example/app/ui/invoices/buttons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function UpdateInvoice({ id }: { id: string }) {
2727
export function DeleteInvoice({ id }: { id: string }) {
2828
return (
2929
<>
30-
<button className="rounded-md border p-2 hover:bg-gray-100">
30+
<button type="submit" className="rounded-md border p-2 hover:bg-gray-100">
3131
<span className="sr-only">Delete</span>
3232
<TrashIcon className="w-5" />
3333
</button>

0 commit comments

Comments
 (0)