From 911fe31e6b0eac5405f9242a71eb2fab1fdc899e Mon Sep 17 00:00:00 2001 From: Rykkel <220993G@mymail.nyp.edu.sg> Date: Mon, 12 Aug 2024 23:05:40 +0800 Subject: [PATCH] Minor UI changes --- client/src/components/TagInput.tsx | 4 ++-- client/src/pages/CreatePostPage.tsx | 4 ++-- client/src/pages/EditPostPage.tsx | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/src/components/TagInput.tsx b/client/src/components/TagInput.tsx index ff82558..8588367 100644 --- a/client/src/components/TagInput.tsx +++ b/client/src/components/TagInput.tsx @@ -52,13 +52,13 @@ const TagInput: React.FC = ({ tags, setTags }) => { onChange={handleInputChange} // Use the dynamic check handler /> {error &&
{error}
} - +
{tags.map((tag, index) => (
{tag} -
+
-
+
{!loading && ( - {({ isValid, dirty, isSubmitting, setFieldValue, values }) => ( + {({ isValid, dirty, isSubmitting, setFieldValue }) => (