From 39451a6a24fe6635a758f164f5d034fe1f43b71f Mon Sep 17 00:00:00 2001 From: Grzegorz Pokorski Date: Mon, 27 Nov 2023 17:16:51 +0100 Subject: [PATCH] fix: error message --- src/ui/components/DeleteLineForm/DeleteLineForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/components/DeleteLineForm/DeleteLineForm.tsx b/src/ui/components/DeleteLineForm/DeleteLineForm.tsx index 3128b89db..ec16672b9 100644 --- a/src/ui/components/DeleteLineForm/DeleteLineForm.tsx +++ b/src/ui/components/DeleteLineForm/DeleteLineForm.tsx @@ -16,7 +16,7 @@ export const DeleteLineForm = ({ lineId, checkoutId }: Props) => { const checkoutId = formData.get("checkoutId")?.toString(); if (!checkoutId || !lineId) { - throw Error("Miss `lineId` and/or `checkoutId`."); + throw Error("Missing `lineId and/or `checkoutId`."); } await executeGraphQL(CheckoutDeleteLinesDocument, {