fix: address code review issues — nutriscore field name, cache write isolation, missing rate limiter, dead props
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user