File tree Expand file tree Collapse file tree 4 files changed +1
-16
lines changed Expand file tree Collapse file tree 4 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,6 @@ export default {
9090 },
9191 error (error ) {
9292 this .remoteError = error
93- // Logs out an error in the console if we are in development mode
94- if (process .env .NODE_ENV === ' development' ) {
95- console .error (error)
96- }
9793 },
9894 },
9995 },
Original file line number Diff line number Diff line change @@ -67,12 +67,7 @@ export default {
6767 }
6868 },
6969 error (error ) {
70- const debug = process .env .NODE_ENV !== ' production'
7170 this .remoteError = error
72- // Logs out an error in the console if we are in development mode
73- if (debug) {
74- console .error (error)
75- }
7671 // Check if we are in the browser before checking localStorage
7772 // Will refresh the page to refetch the session from WooCommerce
7873 if (process .browser && ! localStorage .getItem (' woo-session' )) {
Original file line number Diff line number Diff line change @@ -79,16 +79,11 @@ export default {
7979 beforeMount () {
8080 const results =
8181 this .$nuxt .context .nuxtState .algoliaState || window .__NUXT__ .algoliaState
82-
83- console .log (' Results: ' )
84- console .log (results)
85-
8682 this .instantsearch .hydrate (results)
8783 },
8884 methods: {
8985 convertProductNameToSlug (productName ) {
90- const productNameSlug = productName .replace (/ / g , ' -' ).toLowerCase ()
91- return productNameSlug
86+ return productName .replace (/ / g , ' -' ).toLowerCase ()
9287 },
9388 },
9489 serverPrefetch () {
Original file line number Diff line number Diff line change 11// https://github.com/surmon-china/vue-awesome-swiper
22
33import Vue from 'vue'
4- // import VueAwesomeSwiper from 'vue-awesome-swiper/dist/ssr'
54import VueAwesomeSwiper from 'vue-awesome-swiper'
65
76Vue . use ( VueAwesomeSwiper )
You can’t perform that action at this time.
0 commit comments