From feed5dd2d1821e11e71603f1c62c8b0e9ab52471 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 20 May 2021 00:44:37 +0200 Subject: [PATCH] react-markdown code updates --- src/components/atoms/Markdown.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/atoms/Markdown.tsx b/src/components/atoms/Markdown.tsx index 2edc94cdf..97c614866 100644 --- a/src/components/atoms/Markdown.tsx +++ b/src/components/atoms/Markdown.tsx @@ -13,10 +13,9 @@ const Markdown = ({ // https://github.com/rexxars/react-markdown/issues/105#issuecomment-351585313 const textCleaned = text?.replace(/\\n/g, '\n ') return ( - + + {textCleaned} + ) }