Skip to content

Merging from main#20

Merged
Basigli merged 3 commits intodevelopfrom
main
Dec 15, 2025
Merged

Merging from main#20
Basigli merged 3 commits intodevelopfrom
main

Conversation

@Basigli
Copy link
Copy Markdown
Owner

@Basigli Basigli commented Dec 15, 2025

This pull request makes minor improvements to the codebase by updating variable declarations from let to const in several places, enhancing code clarity and immutability. No functional changes are introduced.

Backend and frontend code quality improvements:

  • Changed variable declarations from let to const in the polishNutrients method in both backend/src/utils/FoodItemConverter.ts and frontend/src/utils/FoodItemConverter.ts to indicate that the filtered nutrient arrays are not reassigned. [1] [2]
  • Updated user ID variable declarations from let to const in backend/test/routes/recipesRoutes.test.ts for consistency and to prevent reassignment.
  • Changed macroToUpdate declaration from let to const in frontend/src/store/intakeStore.ts for improved code safety.

@Basigli Basigli merged commit d6e1af4 into develop Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants