diff --git a/app/plus/components/PlusVotingHistoryPage.tsx b/app/plus/components/PlusVotingHistoryPage.tsx index df935b336..a547e5887 100644 --- a/app/plus/components/PlusVotingHistoryPage.tsx +++ b/app/plus/components/PlusVotingHistoryPage.tsx @@ -2,6 +2,10 @@ import { Box } from "@chakra-ui/layout"; import { Select } from "@chakra-ui/select"; import { Trans } from "@lingui/macro"; import { PlusRegion } from "@prisma/client"; +import { + DistinctSummaryMonths, + VotingSummariesByMonthAndTier, +} from "app/plus/service"; import MyHead from "components/common/MyHead"; import MyLink from "components/common/MyLink"; import { @@ -14,12 +18,9 @@ import { } from "components/common/Table"; import UserAvatar from "components/common/UserAvatar"; import { useRouter } from "next/router"; +import { Fragment } from "react"; import { FiCheck } from "react-icons/fi"; import { getFullUsername, getLocalizedMonthYearString } from "utils/strings"; -import { - DistinctSummaryMonths, - VotingSummariesByMonthAndTier, -} from "../../services/plus"; export interface PlusVotingHistoryPageProps { summaries: VotingSummariesByMonthAndTier; @@ -107,7 +108,7 @@ const PlusVotingHistoryPage = ({ {getCount("NA", summary.countsNA).map((count, i, arr) => ( - <> + {i !== arr.length - 1 && <>/} - + ))} {getCount("EU", summary.countsEU).map((count, i, arr) => ( - <> + {i !== arr.length - 1 && <>/} - + ))} {summary.regionForVoting}