Fix 2 demographics typos

- repeated demographic
- change to race/ethnicity
This commit is contained in:
Vim USDS 2022-08-22 08:54:58 -07:00
parent df63450762
commit 8175407806
3 changed files with 5 additions and 38 deletions

View file

@ -49,7 +49,7 @@ exports[`rendering of the AreaDetail checks if indicators for ISLAND AREAS are p
Tract demographics Tract demographics
</div> </div>
<h6> <h6>
Racial / Ethnographic Race / Ethnicity
<span> <span>
( (
<button <button
@ -96,14 +96,6 @@ exports[`rendering of the AreaDetail checks if indicators for ISLAND AREAS are p
10.3% 10.3%
</span> </span>
</div> </div>
<div>
<span>
American Indian and Alaska Native
</span>
<span>
0.3%
</span>
</div>
<div> <div>
<span> <span>
Asian Asian
@ -566,7 +558,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Tract demographics Tract demographics
</div> </div>
<h6> <h6>
Racial / Ethnographic Race / Ethnicity
<span> <span>
( (
<button <button
@ -613,14 +605,6 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
10.3% 10.3%
</span> </span>
</div> </div>
<div>
<span>
American Indian and Alaska Native
</span>
<span>
0.3%
</span>
</div>
<div> <div>
<span> <span>
Asian Asian
@ -2636,7 +2620,7 @@ exports[`rendering of the AreaDetail checks if indicators for PUERTO RICO are pr
Tract demographics Tract demographics
</div> </div>
<h6> <h6>
Racial / Ethnographic Race / Ethnicity
<span> <span>
( (
<button <button
@ -2683,14 +2667,6 @@ exports[`rendering of the AreaDetail checks if indicators for PUERTO RICO are pr
10.3% 10.3%
</span> </span>
</div> </div>
<div>
<span>
American Indian and Alaska Native
</span>
<span>
0.3%
</span>
</div>
<div> <div>
<span> <span>
Asian Asian

View file

@ -19,7 +19,6 @@ const demographicsData:ITractDemographicsProps = {
['White', 61.4], ['White', 61.4],
['Black or African Americon', 10.3], ['Black or African Americon', 10.3],
['American Indian and Alaska Native', 10.3], ['American Indian and Alaska Native', 10.3],
['American Indian and Alaska Native', 0.3],
['Asian', 7.2], ['Asian', 7.2],
['Native Hawiian or Pacific Islander', 4.2], ['Native Hawiian or Pacific Islander', 4.2],
['Other', 2.5], ['Other', 2.5],
@ -108,7 +107,7 @@ const TractDemographics = () => {
Tract demographics Tract demographics
</div> </div>
<> <>
<J40AccordionItem id={'race'} title={`Racial / Ethnographic`}> <J40AccordionItem id={'race'} title={`Race / Ethnicity`}>
{demographicItemGen(demographicsData.racial)} {demographicItemGen(demographicsData.racial)}
</J40AccordionItem> </J40AccordionItem>
<J40AccordionItem id={'age'} title={`Age`}> <J40AccordionItem id={'age'} title={`Age`}>

View file

@ -7,7 +7,7 @@ exports[`rendering of TractDemographics Component checks if component renders 1`
Tract demographics Tract demographics
</div> </div>
<h6> <h6>
Racial / Ethnographic Race / Ethnicity
<span> <span>
( (
<button <button
@ -54,14 +54,6 @@ exports[`rendering of TractDemographics Component checks if component renders 1`
10.3% 10.3%
</span> </span>
</div> </div>
<div>
<span>
American Indian and Alaska Native
</span>
<span>
0.3%
</span>
</div>
<div> <div>
<span> <span>
Asian Asian