From 297de3999ccdbd38cdeca454303a1ba5170aab99 Mon Sep 17 00:00:00 2001 From: enes Date: Wed, 13 Nov 2024 15:08:43 +0100 Subject: [PATCH] fix(comments): hide if missing aTag, force render on blog id change --- src/components/comment/index.tsx | 3 ++- src/pages/blog/index.tsx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/comment/index.tsx b/src/components/comment/index.tsx index 8d7fd93..23daaae 100644 --- a/src/components/comment/index.tsx +++ b/src/components/comment/index.tsx @@ -196,7 +196,8 @@ export const Comments = ({ addressable, setCommentCount }: Props) => {

Comments

- + {/* Hide comment form is aTag is missing */} + {!!addressable.aTag && } { )}