Skip to content

Commit

Permalink
fix: error message
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorzpokorski committed Nov 27, 2023
1 parent 94a3ddf commit 39451a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/components/DeleteLineForm/DeleteLineForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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, {
Expand Down

0 comments on commit 39451a6

Please sign in to comment.