diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100755 new mode 100644 index eb6801c73..732b4598d --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,4 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npx --no pretty-quick@^2.0.1 --staged +npx --no pretty-quick@^2.0.1 --staged \ No newline at end of file diff --git a/.husky/pre-push b/.husky/pre-push old mode 100755 new mode 100644 index 0258a6776..c042ab33a --- a/.husky/pre-push +++ b/.husky/pre-push @@ -2,4 +2,4 @@ . "$(dirname -- "$0")/_/husky.sh" npm run graphql-codegen -npm run type-check +npm run type-check \ No newline at end of file diff --git a/components/pages/program-entity/ProgramCardsLayout/util.tsx b/components/pages/program-entity/ProgramCardsLayout/util.tsx index aff6838cf..f6984b2c1 100644 --- a/components/pages/program-entity/ProgramCardsLayout/util.tsx +++ b/components/pages/program-entity/ProgramCardsLayout/util.tsx @@ -25,8 +25,8 @@ export const createProgramSummaryData = (programSummaryQuery: ProgramSummaryQuer 'Program Shortname': programSummaryQuery?.shortName || '', 'Full Program Name': programSummaryQuery?.name || '', Description: programSummaryQuery?.description || '', - Countries: programSummaryQuery?.countries || '', - 'Primary Sites': programSummaryQuery?.primarySites || '', + Countries: programSummaryQuery?.countries?.join(', ') || '', + 'Primary Sites': programSummaryQuery?.primarySites?.join(', ') || '', Website: programSummaryQuery.website ? (