Skip to content

Commit

Permalink
⚡perf: remove prints and logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kaufon committed Jun 27, 2024
1 parent 29a044a commit 3a2f44e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/app/core/commons/ordered_plants.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ def __order(self, plants: list[Plant], active_plant_id: str):
lambda plant: plant.id == active_plant_id, plants
)

print(plants, flush=True)
print(active_plant_id, flush=True)
active_plant = list(filtered_plants_by_id)[0]

ordered_plants = [active_plant]
Expand Down
2 changes: 0 additions & 2 deletions src/ui/static/scripts/leaf_colors_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ class LeafColorsChart {
return defaultValues
}

console.log({ plantId })
console.log(this.data)

return this.data[plantId]
}
Expand Down
1 change: 0 additions & 1 deletion src/ui/templates/pages/reset_password/fields.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
<script src="{{ url_for('static', filename='scripts/reveal_password.js') }}"></script>
<script>
window.onload = function () {
console.log(document.getElementById("password"))
RevealPassword("password", "eyeicon");
RevealPassword("confirmPassword", "confirmEyeicon");
}
Expand Down

0 comments on commit 3a2f44e

Please sign in to comment.