fix: address code review issues — nutriscore field name, cache write isolation, missing rate limiter, dead props

This commit is contained in:
Antoni Nuñez Romeu
2026-07-13 15:46:47 +02:00
parent 83920ae57c
commit 981f3bd3db
4 changed files with 15 additions and 14 deletions
@@ -41,7 +41,7 @@ function ProductResults({ products, onSelect }) {
}
function ProductCard({ product, onSelect }) {
const nutriScore = product.nutri_score;
const nutriScore = product.nutriscore;
const nutriScoreColors = {
a: '#16a34a',
b: '#65a30d',