Skip to content

Commit 2ccf937

Browse files
authored
Merge pull request #929 from w3bdesign/develop
Eslint and prettier
2 parents 9f6595d + 34f9fd7 commit 2ccf937

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

components/Cart/AddToCartButton.component.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ const AddToCartButton = ({ product }) => {
6161
if (addToCartError) {
6262
setRequestError(addToCartError.graphQLErrors[0].message);
6363
}
64-
6564
// Show View Cart Button
6665
setShowViewCart(true);
6766
setshowAddToCart(true);

utils/context/AppContext.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export const AppProvider = ({ children }) => {
1717
setCart(cartData);
1818
}
1919
}, []);
20+
2021
return (
2122
<AppContext.Provider value={[cart, setCart]}>
2223
{children}

0 commit comments

Comments
 (0)