diff --git a/components/cart/actions.ts b/components/cart/actions.ts index 0f43f1990..172b94bf1 100644 --- a/components/cart/actions.ts +++ b/components/cart/actions.ts @@ -60,10 +60,6 @@ export async function removeItem(prevState: any, lineId: string) { try { await removeFromCart(cartId, [lineId]); revalidateTag(TAGS.cart); - return { - success: true, - cartId - }; } catch (e) { return 'Error removing item from cart'; }