Skip to content

Commit

Permalink
fix(theme): remove redundant console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszherba authored and Frodigo committed May 4, 2022
1 parent 193151e commit 3498289
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/theme/components/CartSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ export default defineComponent({
.getItems(cart.value)
.filter(Boolean)
.map((item) => ({ ...item, product: { ...item.product, ...item.configured_variant, original_sku: item.product.sku } })));
console.log(products);
const totals = computed(() => cartGetters.getTotals(cart.value));
const totalItems = computed(() => cartGetters.getTotalItems(cart.value));
const getAttributes = (product) => product.configurable_options || [];
Expand Down
1 change: 0 additions & 1 deletion packages/theme/components/WishlistSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ export default defineComponent({
wishlist, removeItem, load: loadWishlist, loading,
} = useWishlist('GlobalWishlist');
const { isAuthenticated } = useUser();
console.log('VALUE', wishlist.value);
const products = computed(() => wishlistGetters.getProducts(wishlist.value));
const totals = computed(() => wishlistGetters.getTotals(wishlist.value));
const totalItems = computed(() => wishlistGetters.getTotalItems(wishlist.value));
Expand Down

0 comments on commit 3498289

Please sign in to comment.