From 4424f9d311bf59f8bdd288f2dbafbf4023dbd4c0 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Sat, 15 Sep 2018 13:26:12 -0500 Subject: [PATCH] add some iterator keys --- .../modules/home/components/detailsExpander/infoCard/Tags.tsx | 2 +- .../maintainersInfoCard/MaintainerAdditionalLists.tsx | 4 ++-- .../maintainersInfoCard/MaintainersInfoCard.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Tags.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Tags.tsx index 22a2257b2..e95c5ab74 100644 --- a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Tags.tsx +++ b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Tags.tsx @@ -9,7 +9,7 @@ interface IProps { export const Tags = (props: IProps) => { return props.tags.length > 0 ?
- {props.tags.map((t: IListTagDto) => )} + {props.tags.map((t: IListTagDto, i) => )}
: null; }; \ No newline at end of file diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/maintainersInfoCard/MaintainerAdditionalLists.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/maintainersInfoCard/MaintainerAdditionalLists.tsx index c785391c8..2774b6111 100644 --- a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/maintainersInfoCard/MaintainerAdditionalLists.tsx +++ b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/maintainersInfoCard/MaintainerAdditionalLists.tsx @@ -10,10 +10,10 @@ export const MaintainerAdditionalLists = (props: IProps) => { return
{props.additionalLists.length > 0 ?
-

More by {props.name}:

    - {props.additionalLists.map((l: IMaintainerAdditionalListDto) =>
  • {l.name}
  • )} + {props.additionalLists.map( + (l: IMaintainerAdditionalListDto, i) =>
  • {l.name}
  • )}
diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/maintainersInfoCard/MaintainersInfoCard.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/maintainersInfoCard/MaintainersInfoCard.tsx index ce953a9be..999c1cf6a 100644 --- a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/maintainersInfoCard/MaintainersInfoCard.tsx +++ b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/maintainersInfoCard/MaintainersInfoCard.tsx @@ -9,7 +9,7 @@ interface IProps { export const MaintainersInfoCard = (props: IProps) => { return props.maintainers.length > 0 ?
- {props.maintainers.map((m: IListMaintainerDto) => )} + {props.maintainers.map((m: IListMaintainerDto, i) => )}
: null; }; \ No newline at end of file