Skip to content

Commit

Permalink
#18 updating keys
Browse files Browse the repository at this point in the history
  • Loading branch information
samgildea committed Apr 1, 2021
1 parent c5e1d95 commit 461ce1c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/about/about.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ export default function About({ data }) {
</IndustryContextHeaderText>
</IndustryContextHeader>
<IndustryContextExamples>
{data.industry_context_explanation.map(example => {
{data.industry_context_explanation.map((example, id) => {
return (
<IndustryContextGroup>
<IndustryContextGroup key={id}>
<IndustryContextImage></IndustryContextImage>
<IndustryContextExampleParagraph>
{example.explanation_description}
Expand Down Expand Up @@ -126,16 +126,16 @@ export default function About({ data }) {
<table>
<tr>
<th></th>
{data.company.map(competitor => (
{data.company.map((competitor, id) => (
<>
<th>
<th key={id}>
<CompetitorName>{competitor.company_name}</CompetitorName>
</th>
</>
))}
</tr>
{data.product_feature.map(feature => (
<tr>
{data.product_feature.map((feature, id) => (
<tr key={id}>
<td>
<FeatureTitle>{feature.product_feature_name}</FeatureTitle>
</td>
Expand Down Expand Up @@ -168,9 +168,9 @@ export default function About({ data }) {
{data.company_team_heading}
</CompanyTeamHeading>
<CompanyTeamMemberGroup>
{data.team_member_information.map(member => {
{data.team_member_information.map((member, id) => {
return (
<TeamMember>
<TeamMember key={id}>
<MemberImage></MemberImage>
<MemberTitle>{member.team_member_title}</MemberTitle>
<MemberDescription>
Expand Down

0 comments on commit 461ce1c

Please sign in to comment.