Skip to content

Commit

Permalink
Merge pull request #109 from policy-design-lab/fix/snap_title
Browse files Browse the repository at this point in the history
Re-add update to landing page map after reversing back to original design
  • Loading branch information
pengyin-shan authored May 4, 2023
2 parents 1943ad1 + e387e16 commit 7a5aba8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/LandingPageMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,11 @@ const MapChart = ({ setTooltipContent, title }) => {
>
<Box>
<Typography sx={{ color: "#2F7164" }}>{stateCodes[cur.id]}</Typography>
<Typography sx={{ color: "#2F7164" }}>Total Benefit</Typography>
{title === "Supplemental Nutrition Assistance Program (SNAP)" ? (
<Typography sx={{ color: "#2F7164" }}>Total Cost</Typography>
) : (
<Typography sx={{ color: "#2F7164" }}>Total Benefit</Typography>
)}
<Typography sx={{ color: "#3F3F3F" }}>
$
{Number(total / 1000000.0).toLocaleString(undefined, {
Expand Down

0 comments on commit 7a5aba8

Please sign in to comment.