From 5f477cb93f3c1678325790ea21afc8e6bf91a756 Mon Sep 17 00:00:00 2001 From: ayeshoali Date: Wed, 23 Nov 2022 15:22:09 +0500 Subject: [PATCH] fix: report icon changed to correct report icon --- src/discussions/common/AlertBanner.jsx | 4 ++-- src/discussions/posts/post/messages.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/discussions/common/AlertBanner.jsx b/src/discussions/common/AlertBanner.jsx index 75ade68e..ca30a023 100644 --- a/src/discussions/common/AlertBanner.jsx +++ b/src/discussions/common/AlertBanner.jsx @@ -6,7 +6,7 @@ import { useSelector } from 'react-redux'; import { getAuthenticatedUser } from '@edx/frontend-platform/auth'; import { injectIntl, intlShape } from '@edx/frontend-platform/i18n'; import { Alert } from '@edx/paragon'; -import { Error } from '@edx/paragon/icons'; +import { Report } from '@edx/paragon/icons'; import { commentShape } from '../comments/comment/proptypes'; import messages from '../comments/messages'; @@ -28,7 +28,7 @@ function AlertBanner({ return ( <> {canSeeReportedBanner && ( - + {intl.formatMessage(messages.abuseFlaggedMessage)} )} diff --git a/src/discussions/posts/post/messages.js b/src/discussions/posts/post/messages.js index ec41fd3b..f1bc34c6 100644 --- a/src/discussions/posts/post/messages.js +++ b/src/discussions/posts/post/messages.js @@ -72,12 +72,12 @@ const messages = defineMessages({ defaultMessage: 'Are you sure you want to permanently delete this post?', }, reportPostTitle: { - id: 'discussions.editor.delete.post.title', + id: 'discussions.editor.report.post.title', defaultMessage: 'Report inappropriate content?', description: 'Title of confirmation dialog shown when reporting a post', }, reportPostDescription: { - id: 'discussions.editor.delete.post.description', + id: 'discussions.editor.report.post.description', defaultMessage: 'The discussion moderation team will review this content and take appropriate action.', description: 'Text displayed in confirmation dialog when deleting a post', },