From aaefd08c161b9b06b42c10eada69fcefb5343c05 Mon Sep 17 00:00:00 2001 From: ani-kalpachka Date: Sun, 17 Mar 2024 11:22:46 +0200 Subject: [PATCH] add theme imports --- src/components/client/campaign-news/secured/NewsAdminPage.tsx | 2 ++ src/components/client/irregularity/helpers/Remark.tsx | 2 ++ src/components/client/notifications/CampaignSubscribeModal.tsx | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/client/campaign-news/secured/NewsAdminPage.tsx b/src/components/client/campaign-news/secured/NewsAdminPage.tsx index 25143b207..8b8970413 100644 --- a/src/components/client/campaign-news/secured/NewsAdminPage.tsx +++ b/src/components/client/campaign-news/secured/NewsAdminPage.tsx @@ -14,6 +14,8 @@ import { routes } from 'common/routes' import AddIcon from '@mui/icons-material/Add' import Link from 'next/link' +import theme from 'common/theme' + const PREFIX = 'NewsAdminPage' const classes = { diff --git a/src/components/client/irregularity/helpers/Remark.tsx b/src/components/client/irregularity/helpers/Remark.tsx index 76303a3a9..e059bc6a0 100644 --- a/src/components/client/irregularity/helpers/Remark.tsx +++ b/src/components/client/irregularity/helpers/Remark.tsx @@ -1,5 +1,7 @@ import { Grid, Typography } from '@mui/material' +import theme from 'common/theme' + type RemarkProps = { text: string } diff --git a/src/components/client/notifications/CampaignSubscribeModal.tsx b/src/components/client/notifications/CampaignSubscribeModal.tsx index 926ca4716..d2ebb584b 100644 --- a/src/components/client/notifications/CampaignSubscribeModal.tsx +++ b/src/components/client/notifications/CampaignSubscribeModal.tsx @@ -218,7 +218,7 @@ export default function RenderCampaignSubscribeModal({ campaign, setOpen }: Moda {!isSuccess ? ( - + {t('common:notifications.subscribe-campaign-title')}