From caf853e8a9be2e6022b968f3d2e5ce8927e6b69a Mon Sep 17 00:00:00 2001 From: Timo Schneider Date: Thu, 13 Jun 2024 08:15:46 +0200 Subject: [PATCH] removed comment from last recursion layer --- src/components/Post.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Post.js b/src/components/Post.js index ab2e1d6..f01dfd4 100644 --- a/src/components/Post.js +++ b/src/components/Post.js @@ -51,10 +51,10 @@ const Post = ({ post, recursionDepth, selectPost, reload }) => {

{post.content}

-
+ {recursionDepth !== 0 &&
{getComments(post)} -
+
}
{post.date.slice(8, 10) + "." + post.date.slice(5, 7) + "." + post.date.slice(0, 4)}