当我尝试通过 API 响应更新状态时,页面变为空白,但状态在后端更新。当我再次刷新页面时,页面显示更新状态。错误在下面提到
我的 App.JS https://github.com/Gopi9655/ECOMMERCE-APP/blob/main/src/App.js
我的购物车.Js https://github.com/Gopi9655/ECOMMERCE-APP/blob/main/src/Components/Cart/Cart.jsx
我的 cartitem.js https://github.com/Gopi9655/ECOMMERCE-APP/tree/main/src/Components/Cart/cartitems
请尽快解决我的问题