From ff05d2da8d18479f711847cb03df0db841ea7e8a Mon Sep 17 00:00:00 2001 From: Braden MacDonald Date: Wed, 11 Sep 2024 13:55:34 -0700 Subject: [PATCH] fix: propTypes validation warning on Toast content string --- src/editors/containers/TextEditor/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editors/containers/TextEditor/index.jsx b/src/editors/containers/TextEditor/index.jsx index f27ecf83f3..c4b2215e93 100644 --- a/src/editors/containers/TextEditor/index.jsx +++ b/src/editors/containers/TextEditor/index.jsx @@ -6,7 +6,7 @@ import { Spinner, Toast, } from '@openedx/paragon'; -import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n'; +import { injectIntl, intlShape } from '@edx/frontend-platform/i18n'; import { actions, selectors } from '../../data/redux'; import { RequestKeys } from '../../data/constants/requests'; @@ -78,7 +78,7 @@ const TextEditor = ({ >
- + { intl.formatMessage(messages.couldNotLoadTextContext) } {(!blockFinished)