We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb051e6 commit ff05d2dCopy full SHA for ff05d2d
src/editors/containers/TextEditor/index.jsx
@@ -6,7 +6,7 @@ import {
6
Spinner,
7
Toast,
8
} from '@openedx/paragon';
9
-import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n';
+import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
10
11
import { actions, selectors } from '../../data/redux';
12
import { RequestKeys } from '../../data/constants/requests';
@@ -78,7 +78,7 @@ const TextEditor = ({
78
>
79
<div className="editor-body h-75 overflow-auto">
80
<Toast show={blockFailed} onClose={hooks.nullMethod}>
81
- <FormattedMessage {...messages.couldNotLoadTextContext} />
+ { intl.formatMessage(messages.couldNotLoadTextContext) }
82
</Toast>
83
84
{(!blockFinished)
0 commit comments