diff --git a/src/components/Alert/i18n.json b/src/components/Alert/i18n.json index 366709e2d5..70dc10f381 100644 --- a/src/components/Alert/i18n.json +++ b/src/components/Alert/i18n.json @@ -1,7 +1,7 @@ { "namespace": "common", "strings": { - "CopyErrorDetails": "Copy error details", + "alertCopyErrorDetails": "alertCopyErrorDetails", "closeButtonTitle": "Close" } } diff --git a/src/views/AccountMyFormsPer/index.tsx b/src/views/AccountMyFormsPer/index.tsx index 8a5f9f458a..1b8d5be7dd 100644 --- a/src/views/AccountMyFormsPer/index.tsx +++ b/src/views/AccountMyFormsPer/index.tsx @@ -31,11 +31,10 @@ import useTranslation from '#hooks/useTranslation'; import useFilterState from '#hooks/useFilterState'; import { useRequest, type GoApiResponse } from '#utils/restRequest'; import { numericIdSelector } from '#utils/selectors'; - +import WikiLink from '#components/WikiLink'; import PerTableActions, { type Props as PerTableActionsProps } from './PerTableActions'; import i18n from './i18n.json'; import styles from './styles.module.css'; -import WikiLink from '#components/WikiLink'; type AggregatedPerProcessStatusResponse = GoApiResponse<'/api/v2/aggregated-per-process-status/'>; type PerProcessStatusItem = NonNullable[number]; @@ -207,22 +206,22 @@ export function Component() { return ( - )} className={styles.accountPerForms} heading={strings.processStatusTitle} withHeaderBorder - /*actions={( + actions={( + <> {strings.newProcessButtonLabel} - )}*/ + + + )} filtersContainerClassName={styles.filters} filters={( <> diff --git a/src/views/CountryPreparedness/index.tsx b/src/views/CountryPreparedness/index.tsx index edc1172c34..4e5632df32 100644 --- a/src/views/CountryPreparedness/index.tsx +++ b/src/views/CountryPreparedness/index.tsx @@ -36,14 +36,12 @@ import { stringLabelSelector, stringTitleSelector, } from '#utils/selectors'; - +import WikiLink from '#components/WikiLink'; import PreviousAssessmentCharts from './PreviousAssessmentChart'; import PublicCountryPreparedness from './PublicCountryPreparedness'; import RatingByAreaChart from './RatingByAreaChart'; import i18n from './i18n.json'; import styles from './styles.module.css'; -import Actions from '#views/DrefOperationalUpdateForm/Actions'; -import { access } from 'fs'; const primaryRedColorShades = [ 'var(--go-ui-color-red-90)', @@ -404,12 +402,17 @@ export function Component() { headingLevel={2} withHeaderBorder actions={( - + <> + + + )} >
diff --git a/src/views/Preparedness/index.tsx b/src/views/Preparedness/index.tsx index e67485d11c..d40293b499 100644 --- a/src/views/Preparedness/index.tsx +++ b/src/views/Preparedness/index.tsx @@ -13,8 +13,6 @@ import WikiLink from '#components/WikiLink'; import i18n from './i18n.json'; import styles from './styles.module.css'; - - // eslint-disable-next-line import/prefer-default-export export function Component() { const strings = useTranslation(i18n); @@ -32,10 +30,6 @@ export function Component() { childrenContainerClassName={styles.approachContent} actions={( <> - {strings.contactPerTeam} + )} > diff --git a/src/views/Preparedness/styles.module.css b/src/views/Preparedness/styles.module.css index 19797118d7..672b204945 100644 --- a/src/views/Preparedness/styles.module.css +++ b/src/views/Preparedness/styles.module.css @@ -19,3 +19,4 @@ } } } + diff --git a/src/views/RegionPreparedness/index.tsx b/src/views/RegionPreparedness/index.tsx index bce4fbbed4..75faaa6bb9 100644 --- a/src/views/RegionPreparedness/index.tsx +++ b/src/views/RegionPreparedness/index.tsx @@ -4,8 +4,6 @@ import { type RegionOutletContext, type RegionResponse } from '#utils/outletCont import HtmlOutput from '#components/HtmlOutput'; import Container from '#components/Container'; import List from '#components/List'; -import WikiLink from '#components/WikiLink'; -import Page from '#components/Page'; import styles from './styles.module.css'; @@ -31,11 +29,6 @@ function Snippet(props: SnippetProps) { key={id} heading={title} withHeaderBorder - actions={( - - )} >