From ae93ff065d79d0390ac1b9c2e61402b39203084b Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Tue, 5 Oct 2021 12:26:57 +0700 Subject: [PATCH] fixed key issue on Paragraph --- src/components/placeholders/Paragraph/index.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/placeholders/Paragraph/index.tsx b/src/components/placeholders/Paragraph/index.tsx index f7777390..7d9b411a 100644 --- a/src/components/placeholders/Paragraph/index.tsx +++ b/src/components/placeholders/Paragraph/index.tsx @@ -17,12 +17,10 @@ const Paragraph: FC = ({ lines = 3, wordsLimit = 12, ...props }) => { [lines, wordsLimit] ); - console.log({ iters }); - return ( - {iters.map(words => ( -
+ {iters.map((words, i) => ( +
{words.map(word => ( ))}