Skip to content

Commit d7bdd91

Browse files
fix: propTypes validation warning on Toast content string
1 parent 0730b5e commit d7bdd91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editors/containers/TextEditor/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const TextEditor = ({
7878
>
7979
<div className="editor-body h-75 overflow-auto">
8080
<Toast show={blockFailed} onClose={hooks.nullMethod}>
81-
<FormattedMessage {...messages.couldNotLoadTextContext} />
81+
{ intl.formatMessage(messages.couldNotLoadTextContext) }
8282
</Toast>
8383

8484
{(!blockFinished)

0 commit comments

Comments
 (0)