From 74c0ed1de04b6ffdd1a7d950d900887ac4cc5774 Mon Sep 17 00:00:00 2001 From: Alfred Melch Date: Sat, 14 Dec 2019 19:28:11 +0100 Subject: [PATCH] fix key property --- src/components/TextOutput.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/TextOutput.js b/src/components/TextOutput.js index 4f7cd83..fcf6779 100644 --- a/src/components/TextOutput.js +++ b/src/components/TextOutput.js @@ -24,10 +24,9 @@ export const TextOutput = () => { const isSentenceStart = sentences.includes(wordBeginning) return ( - <> + {isWordStart && ' '} { > {segment} - + ) })}