From fd8486060149448fbea88548861ce259c063daab Mon Sep 17 00:00:00 2001 From: MTG2000 Date: Wed, 15 Jun 2022 21:16:02 +0300 Subject: [PATCH] fix: initial content of contentEditor --- .../Components/ContentEditor/ContentEditor.tsx | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/features/Posts/pages/CreatePostPage/Components/ContentEditor/ContentEditor.tsx b/src/features/Posts/pages/CreatePostPage/Components/ContentEditor/ContentEditor.tsx index 0aed1b7..af35f4e 100644 --- a/src/features/Posts/pages/CreatePostPage/Components/ContentEditor/ContentEditor.tsx +++ b/src/features/Posts/pages/CreatePostPage/Components/ContentEditor/ContentEditor.tsx @@ -96,24 +96,11 @@ export default function ContentEditor({ placeholder, initialContent, name }: Pro }); - const initContent = `## hello - - -how are you doing man - - -what's up with this face of yours - `.replace(/\n(?=\n)/g, "\n\n
\n"); - - - console.log(initContent); - - return (