From bb084dad6c4bd60786070b8d5054ae95d74e8573 Mon Sep 17 00:00:00 2001 From: Olasunkanmi Oyinlola Date: Sat, 20 Jan 2024 16:12:45 +0800 Subject: [PATCH] display api error message --- frontend/src/components/Cart/ShoppinCartDetails.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/frontend/src/components/Cart/ShoppinCartDetails.tsx b/frontend/src/components/Cart/ShoppinCartDetails.tsx index 06e29852..10308100 100644 --- a/frontend/src/components/Cart/ShoppinCartDetails.tsx +++ b/frontend/src/components/Cart/ShoppinCartDetails.tsx @@ -99,9 +99,6 @@ export const ShoppingCartDetails = () => { navigate("/"); } }, - onError: (data) => { - console.log(data); - }, }); return (