From be9d01bdb2ae0438dc2c687825fc697a2a3e6a00 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 --- .../__snapshots__/index.test.jsx.snap | 30 ++++--------------- src/editors/containers/TextEditor/index.jsx | 4 +-- 2 files changed, 7 insertions(+), 27 deletions(-) diff --git a/src/editors/containers/TextEditor/__snapshots__/index.test.jsx.snap b/src/editors/containers/TextEditor/__snapshots__/index.test.jsx.snap index c7a8f48e8d..32b7e20300 100644 --- a/src/editors/containers/TextEditor/__snapshots__/index.test.jsx.snap +++ b/src/editors/containers/TextEditor/__snapshots__/index.test.jsx.snap @@ -24,11 +24,7 @@ exports[`TextEditor snapshots block failed to load, Toast is shown 1`] = ` onClose={[MockFunction hooks.nullMethod]} show={true} > - + Error: Could Not Load Text Content - + Error: Could Not Load Text Content - + Error: Could Not Load Text Content
- + Error: Could Not Load Text Content - + Error: Could Not Load Text Content
- + { intl.formatMessage(messages.couldNotLoadTextContext) } {(!blockFinished)