diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/LinkButtonGroup.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/LinkButtonGroup.tsx
index 4a4fb535a..03debc3e5 100644
--- a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/LinkButtonGroup.tsx
+++ b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/LinkButtonGroup.tsx
@@ -30,15 +30,15 @@ interface IProps {
export const LinkButtonGroup = (props: IProps) => {
const viewUrlMirrors = new Array(props.viewUrlMirror1, props.viewUrlMirror2).filter(u => u);
return
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
;
};
\ No newline at end of file
diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/InfoCard.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/InfoCard.tsx
index 06a399d1e..fd18f2b33 100644
--- a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/InfoCard.tsx
+++ b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/InfoCard.tsx
@@ -31,7 +31,7 @@ export const InfoCard = (props: IProps) => {
{props.syntax.supportedSoftware.map(
(s: ISyntaxSupportedSoftwareDto, i: number) =>
-
+
)}
diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Languages.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Languages.tsx
index 3a36a71dc..0f95f3ec8 100644
--- a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Languages.tsx
+++ b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Languages.tsx
@@ -10,11 +10,11 @@ export const Languages = (props: IProps) => {
?
Languages:
- {props.languages.map((language: string) => - {language}
)}
+ {props.languages.map((language: string, i: number) => - {language}
)}
:
- Language: {props.languages.map((language: string) => language)}
+ Language: {props.languages[0]}
: null;
};
\ No newline at end of file
diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Tag.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Tag.tsx
index d13aecd6d..7e94a4fa6 100644
--- a/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Tag.tsx
+++ b/src/FilterLists.Web/ClientApp/modules/home/components/detailsExpander/infoCard/Tag.tsx
@@ -3,10 +3,12 @@ import { IListTagDto } from "../IFilterListDetailsDto";
import { getContrast } from "../../../../../utils";
export const Tag = (props: IListTagDto) => {
- const style = {
- backgroundColor: props.colorHex ? `#${props.colorHex}` : undefined,
- color: props.colorHex ? getContrast(`${props.colorHex}`) : undefined
- };
+ const style = props.colorHex
+ ? {
+ backgroundColor: `#${props.colorHex}`,
+ color: getContrast(`${props.colorHex}`)
+ }
+ : undefined;
return props.name
? {
return props.tags.length > 0
?
- {props.tags.map((t: IListTagDto, i) => )}
+ {props.tags.map((t: IListTagDto, i: number) => )}
: 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 2774b6111..d8e3b743e 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
@@ -13,7 +13,7 @@ export const MaintainerAdditionalLists = (props: IProps) => {
More by {props.name}:
{props.additionalLists.map(
- (l: IMaintainerAdditionalListDto, i) => - {l.name}
)}
+ (l: IMaintainerAdditionalListDto, i: number) => - {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 999c1cf6a..c8e69d51c 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,8 @@ interface IProps {
export const MaintainersInfoCard = (props: IProps) => {
return props.maintainers.length > 0
?
- {props.maintainers.map((m: IListMaintainerDto, i) => )}
+ {props.maintainers.map(
+ (m: IListMaintainerDto, i: number) => )}
: null;
};
\ No newline at end of file
diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/SubscribeButtonGroup.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/SubscribeButtonGroup.tsx
index 54f72762c..15edd9c0a 100644
--- a/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/SubscribeButtonGroup.tsx
+++ b/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/SubscribeButtonGroup.tsx
@@ -35,7 +35,8 @@ const SubscribeButtonGroupDropdown = (props: ISubscribeButtonGroupDropdownProps)
{props.urlMirrors.map(
- (m, i) => )}
+ (m: string, i: number) =>
+ )}
;
};
diff --git a/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/ViewButtonGroup.tsx b/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/ViewButtonGroup.tsx
index 231014e91..6226098bf 100644
--- a/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/ViewButtonGroup.tsx
+++ b/src/FilterLists.Web/ClientApp/modules/home/components/linkButtons/ViewButtonGroup.tsx
@@ -35,7 +35,8 @@ const ViewButtonGroupDropdown = (props: IViewButtonGroupDropdownProps) => {
{props.urlMirrors.map(
- (m, i) => )}
+ (m: string, i: number) =>
+ )}
;
};