From 23bdf9adecebffdf7a802d3557ef00f0bbc7fc8b Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 00:48:40 +0000 Subject: [PATCH] Commit from GitHub Actions (Frontend PR validation) --- canopeum_frontend/src/components/dialogs/ConfirmationDialog.tsx | 2 +- canopeum_frontend/src/components/settings/AdminCard.tsx | 1 - canopeum_frontend/src/utils/arrayUtils.ts | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/canopeum_frontend/src/components/dialogs/ConfirmationDialog.tsx b/canopeum_frontend/src/components/dialogs/ConfirmationDialog.tsx index 91943af8f..63472e89e 100644 --- a/canopeum_frontend/src/components/dialogs/ConfirmationDialog.tsx +++ b/canopeum_frontend/src/components/dialogs/ConfirmationDialog.tsx @@ -35,7 +35,7 @@ const ConfirmationDialog = ({ actions, children, onClose, open, title }: Props) break } - case 'ok':{ + case 'ok': { buttonClasses += ' btn-outline-primary' buttonText = translate('generic.ok') proceed = true diff --git a/canopeum_frontend/src/components/settings/AdminCard.tsx b/canopeum_frontend/src/components/settings/AdminCard.tsx index caad75320..2a12d4d81 100644 --- a/canopeum_frontend/src/components/settings/AdminCard.tsx +++ b/canopeum_frontend/src/components/settings/AdminCard.tsx @@ -20,7 +20,6 @@ const AdminCard = ({ admin }: Props) => ( {admin.sites.map(site => (
{ - /* See TODO {getSiteTypeIconKey(site.siteType.id)} diff --git a/canopeum_frontend/src/utils/arrayUtils.ts b/canopeum_frontend/src/utils/arrayUtils.ts index cc4eb019e..09b70d2fd 100644 --- a/canopeum_frontend/src/utils/arrayUtils.ts +++ b/canopeum_frontend/src/utils/arrayUtils.ts @@ -27,7 +27,6 @@ export const mapSum = < values.reduce( (previous, current) => previous + ( - /* total-functions/no-unsafe-type-assertion -- The retriction using KeysWithValsOfType ensures the value obtained from the key is of known type. We don't want the the objects to be restricted to *only* those value types */