diff --git a/src/components/bulk-email-tool/bulk-email-task-manager/ViewEmailModal.jsx b/src/components/bulk-email-tool/bulk-email-task-manager/ViewEmailModal.jsx index 8d6a512a..11d6ad56 100644 --- a/src/components/bulk-email-tool/bulk-email-task-manager/ViewEmailModal.jsx +++ b/src/components/bulk-email-tool/bulk-email-task-manager/ViewEmailModal.jsx @@ -1,21 +1,23 @@ import React, { useContext } from 'react'; import PropTypes from 'prop-types'; -import { Button, Modal } from '@edx/paragon'; +import { Button, ModalDialog, ActionRow } from '@edx/paragon'; import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n'; import messages from './messages'; import { BulkEmailContext } from '../bulk-email-context'; import { copyToEditor } from '../bulk-email-form/data/actions'; -function ViewEmailModal({ +const ViewEmailModal = ({ intl, messageContent, isOpen, setModalOpen, -}) { +}) => { const [, dispatch] = useContext(BulkEmailContext); return (
{intl.formatMessage(messages.modalMessageSubject)}
@@ -40,27 +42,33 @@ function ViewEmailModal({