From 579ea86d42fe54bd84ee7bc852d357fd0289085d Mon Sep 17 00:00:00 2001 From: Matilde Park Date: Tue, 13 Oct 2020 20:59:48 -0400 Subject: [PATCH] interface: fix richText receiving props --- pkg/interface/src/views/components/RichText.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/interface/src/views/components/RichText.js b/pkg/interface/src/views/components/RichText.js index 0d3f76e0d4..27b5a1d4fa 100644 --- a/pkg/interface/src/views/components/RichText.js +++ b/pkg/interface/src/views/components/RichText.js @@ -29,8 +29,8 @@ const RichText = React.memo(({ remoteContentPolicy, ...props }) => ( } return {props.children}; }, - paragraph: (props) => { - return {props.children}; + paragraph: (paraProps) => { + return {paraProps.children}; } }} plugins={[[