From 34a1bb975646ab2838d4c2b23718956cc546b458 Mon Sep 17 00:00:00 2001 From: Ryan Freeman Date: Fri, 20 Jun 2025 20:38:21 +0100 Subject: [PATCH] Update comment component --- components/ui/Comments.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/ui/Comments.tsx b/components/ui/Comments.tsx index 95d7f71..92f6faf 100644 --- a/components/ui/Comments.tsx +++ b/components/ui/Comments.tsx @@ -185,8 +185,10 @@ Comments.Form = function Form({slug}: { slug: string }) { /> -
-

{`${commentFormContext?.commentLength} / ${commentFormContext?.commentMaxLength}`}

+
+ {session && +

{`${commentFormContext?.commentLength} / ${commentFormContext?.commentMaxLength}`}

+ }
{commentFormContext?.replyTo &&