From 66b18bb1527e281a8f5440c086bd6304ba73fcf5 Mon Sep 17 00:00:00 2001 From: smolgrrr Date: Thu, 29 Aug 2024 16:11:14 +1000 Subject: [PATCH] fix min --- client/src/components/forms/PostFormCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/forms/PostFormCard.tsx b/client/src/components/forms/PostFormCard.tsx index 0b14e8d..7cabab8 100644 --- a/client/src/components/forms/PostFormCard.tsx +++ b/client/src/components/forms/PostFormCard.tsx @@ -128,7 +128,7 @@ const NewNoteCard = ({ } await originalHandleSubmit(event); - + setComment(""); setUnsigned(prevUnsigned => ({ ...prevUnsigned, @@ -187,7 +187,7 @@ const NewNoteCard = ({ className="bg-neutral-800 text-white text-xs font-medium border-none rounded-lg w-10" value={difficulty} onChange={(e) => setDifficulty(e.target.value)} - min="21" + min="22" />