diff --git a/src/modules/common/components/delete-button/index.tsx b/src/modules/common/components/delete-button/index.tsx index ba1be22f2..ab8934f7e 100644 --- a/src/modules/common/components/delete-button/index.tsx +++ b/src/modules/common/components/delete-button/index.tsx @@ -16,7 +16,7 @@ const DeleteButton = ({ const handleDelete = async (id: string) => { setIsDeleting(true) - await deleteLineItem(id).catch((err) => { + await deleteLineItem(id).finally(() => { setIsDeleting(false) }) }