From a5f6e54419ab04b746d3fce49c532d0d80537317 Mon Sep 17 00:00:00 2001 From: I Made Setia Baruna Date: Sat, 9 Jan 2021 00:34:54 +0800 Subject: [PATCH] Remove some log --- src/components/CharacterSelect.svelte | 1 - src/components/TodoAddModal.svelte | 1 - src/routes/calculator/_character.svelte | 6 ------ src/routes/items.svelte | 2 -- src/stores/server.js | 1 - 5 files changed, 11 deletions(-) diff --git a/src/components/CharacterSelect.svelte b/src/components/CharacterSelect.svelte index c10250eb..7c6ede47 100644 --- a/src/components/CharacterSelect.svelte +++ b/src/components/CharacterSelect.svelte @@ -29,7 +29,6 @@ } function select(val) { - console.log('select', val); selected = val; focused = false; hoveredIndex = -1; diff --git a/src/components/TodoAddModal.svelte b/src/components/TodoAddModal.svelte index e321229b..5c911b93 100644 --- a/src/components/TodoAddModal.svelte +++ b/src/components/TodoAddModal.svelte @@ -17,7 +17,6 @@ let amount = 1; function select(index, item) { - console.log(index, item); selected = index; selectedItem = item; } diff --git a/src/routes/calculator/_character.svelte b/src/routes/calculator/_character.svelte index bf9363f6..88bbba71 100644 --- a/src/routes/calculator/_character.svelte +++ b/src/routes/calculator/_character.svelte @@ -187,8 +187,6 @@ const current = Math.max(currentAscension, 0); const target = intendedAscension; - console.log(selectedCharacter.ascension); - const result = selectedCharacter.ascension.slice(current, target).reduce( (sum, character, index) => { if (character.mora === 0) { @@ -225,8 +223,6 @@ moraNeeded = moraNeeded + result.mora; ascensionResouce = result.items; - - console.log(ascensionResouce); } function calculateTalent() { @@ -267,8 +263,6 @@ }); moraNeeded = moraNeeded + talentMaterial.mora; - - console.log(talentMaterial); } function calculate() { diff --git a/src/routes/items.svelte b/src/routes/items.svelte index c240e534..13e0563d 100644 --- a/src/routes/items.svelte +++ b/src/routes/items.svelte @@ -133,8 +133,6 @@ import { addTodo } from '../stores/todo'; } } } - - console.log(allItems); } parseData(); diff --git a/src/stores/server.js b/src/stores/server.js index e88dc0ab..0881038f 100644 --- a/src/stores/server.js +++ b/src/stores/server.js @@ -28,6 +28,5 @@ export const getCurrentDay = () => { day = 6; } - console.log(weekdays[day], weekdays[time.day()], time.format()); return weekdays[day]; };