Skip to content

Commit

Permalink
[TextGenWidget] Fix example output
Browse files Browse the repository at this point in the history
  • Loading branch information
mishig25 committed Nov 9, 2023
1 parent c86adb8 commit 64af8a0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
if (exampleOutput) {
output = exampleOutput.text;
outputJson = "";
renderTypingEffect(output);
const outputWithSpace = /^\s/.test(output) ? output : ` ${output}`;
renderTypingEffect(outputWithSpace);
return;
}
Expand Down

0 comments on commit 64af8a0

Please sign in to comment.