From 783e18b273d7aabf9d4097393c46d6796e14688a Mon Sep 17 00:00:00 2001 From: Abdullah Waheed Date: Tue, 21 Jun 2022 14:31:42 +0500 Subject: [PATCH] fix: previous linting issues --- .../email-settings/EmailSettingsModal.jsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/course-enrollments/course-cards/email-settings/EmailSettingsModal.jsx b/src/components/course-enrollments/course-cards/email-settings/EmailSettingsModal.jsx index 55ccf9f0..a8ac8fee 100644 --- a/src/components/course-enrollments/course-cards/email-settings/EmailSettingsModal.jsx +++ b/src/components/course-enrollments/course-cards/email-settings/EmailSettingsModal.jsx @@ -113,6 +113,7 @@ class EmailSettingsModal extends Component { render() { const { error, hasEmailsEnabled, isSubmitting } = this.state; const { title, open, courseRunId } = this.props; + const errorIcon = () => ; return ( } + icon={errorIcon} show > - {( -
- An error occurred while saving your email settings. Please - try again. -
- )} +
+ An error occurred while saving your email settings. Please + try again. +
)}