diff --git a/frontend/src/components/Toggle/Toggle.tsx b/frontend/src/components/Toggle/Toggle.tsx index 46b8e93c04..c7c2984a0d 100644 --- a/frontend/src/components/Toggle/Toggle.tsx +++ b/frontend/src/components/Toggle/Toggle.tsx @@ -5,8 +5,6 @@ import { Flex, forwardRef, Icon, - Tooltip, - TooltipProps, useMultiStyleConfig, } from '@chakra-ui/react' @@ -14,6 +12,8 @@ import { TOGGLE_THEME_KEY } from '~/theme/components/Toggle' import { BxsHelpCircle } from '~assets/icons/BxsHelpCircle' import { BxsInfoCircle } from '~assets/icons/BxsInfoCircle' +import Tooltip from '~components/Tooltip' +import { TooltipProps } from '~components/Tooltip/Tooltip' import FormLabel from '../FormControl/FormLabel' diff --git a/frontend/src/features/admin-form/settings/components/FormIssueNotificationToggle.tsx b/frontend/src/features/admin-form/settings/components/FormIssueNotificationToggle.tsx index 2ba9e21dd0..08c96687f9 100644 --- a/frontend/src/features/admin-form/settings/components/FormIssueNotificationToggle.tsx +++ b/frontend/src/features/admin-form/settings/components/FormIssueNotificationToggle.tsx @@ -26,7 +26,7 @@ export const FormIssueNotificationToggle = (): JSX.Element => { handleToggleIssueNotification()} /> diff --git a/frontend/src/features/admin-form/settings/components/MrfFormEmailSection.tsx b/frontend/src/features/admin-form/settings/components/MrfFormEmailSection.tsx index f6f14cf8e3..08ee76cf05 100644 --- a/frontend/src/features/admin-form/settings/components/MrfFormEmailSection.tsx +++ b/frontend/src/features/admin-form/settings/components/MrfFormEmailSection.tsx @@ -143,16 +143,12 @@ const MrfEmailNotificationsForm = ({ return (
- - Workflow outcome notifications - - Send an email to inform selected respondents when the form and/or - workflow is complete. + Select who to notify when the form and/or workflow is complete: - Notify respondent in Step 1 + Respondent in Step 1 - Notify other respondents in your workflow + Other respondents in your workflow - Notify other parties + Others { onSuccess: (newData) => { handleSuccess({ newData, - toastDescription: `Email notifications for reports are now ${ + toastDescription: `Email notifications for issues reported are now ${ newData.hasIssueNotification ? 'enabled' : 'disabled' } on your form.`, })