We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f6595d + 34f9fd7 commit 2ccf937Copy full SHA for 2ccf937
components/Cart/AddToCartButton.component.jsx
@@ -61,7 +61,6 @@ const AddToCartButton = ({ product }) => {
61
if (addToCartError) {
62
setRequestError(addToCartError.graphQLErrors[0].message);
63
}
64
-
65
// Show View Cart Button
66
setShowViewCart(true);
67
setshowAddToCart(true);
utils/context/AppContext.js
@@ -17,6 +17,7 @@ export const AppProvider = ({ children }) => {
17
setCart(cartData);
18
19
}, []);
20
+
21
return (
22
<AppContext.Provider value={[cart, setCart]}>
23
{children}
0 commit comments