Skip to content

Commit

Permalink
updates ISO field
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez committed Mar 12, 2024
1 parent 7d601f3 commit 99faa1a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const DeforestationFreeSuppliersBreakdown = () => {
color: CATEGORIES[0].color,
icon: getCommodityIconByName(item.name, { fill: CATEGORIES[0].color }),
...(viewBy === 'origins' && {
icon: <Flag code={item.iso3} className="h-[24px] w-[32px] rounded-md" />,
icon: <Flag code={item.isoA3} className="h-[24px] w-[32px] rounded-md" />,
}),
}))
.flat(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const SuppliersWithDeforestationAlertsBreakdown = () => {
color: CATEGORIES[1].color,
icon: getCommodityIconByName(item.name, { fill: CATEGORIES[1].color }),
...(viewBy === 'origins' && {
icon: <Flag code={item.iso3} className="h-[24px] w-[32px] rounded-md" />,
icon: <Flag code={item.isoA3} className="h-[24px] w-[32px] rounded-md" />,
}),
}))
.flat(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const SuppliersWithNoLocationDataBreakdown = () => {
color: CATEGORIES[2].color,
icon: getCommodityIconByName(item.name, { fill: CATEGORIES[2].color }),
...(viewBy === 'origins' && {
icon: <Flag code={item.iso3} className="h-[24px] w-[32px] rounded-md" />,
icon: <Flag code={item.isoA3} className="h-[24px] w-[32px] rounded-md" />,
}),
}))
.flat(),
Expand Down

0 comments on commit 99faa1a

Please sign in to comment.