From 3b02553aa26dc2c2a29390108762cd1aee2760d9 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Wed, 28 Apr 2021 18:02:04 -0800 Subject: [PATCH] remove console.log --- frontend/src/store/modules/recipes.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/store/modules/recipes.js b/frontend/src/store/modules/recipes.js index bcec72447..a419b7762 100644 --- a/frontend/src/store/modules/recipes.js +++ b/frontend/src/store/modules/recipes.js @@ -36,7 +36,6 @@ const actions = { async requestRecentRecipes() { const payload = await api.recipes.allSummary(0, 30); payload.sort((a, b) => (a.dateAdded > b.dateAdded ? -1 : 1)); - console.log(payload); const hash = Object.fromEntries(payload.map(e => [e.id, e])); this.commit("setRecentRecipes", hash); }, @@ -44,7 +43,6 @@ const actions = { const all = getters.getAllRecipes; const payload = await api.recipes.allSummary(all.length, 9999); const hash = Object.fromEntries([...all, ...payload].map(e => [e.id, e])); - console.log(hash); this.commit("setAllRecipes", hash); },