From 674b4d2eb285dc3b96886938140f02ed64fee1c2 Mon Sep 17 00:00:00 2001 From: Shemol <87739402+SherlockShemol@users.noreply.github.com> Date: Mon, 13 Nov 2023 17:54:13 +0800 Subject: [PATCH] fix a tags bug (#1037) * fix a tags bug Solved the problem of not being able to add tags * fix: tags a little change --- src/components/ui/TagInput.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/ui/TagInput.tsx b/src/components/ui/TagInput.tsx index e4f2022e..910eb3f1 100644 --- a/src/components/ui/TagInput.tsx +++ b/src/components/ui/TagInput.tsx @@ -60,6 +60,7 @@ export function TagInput({ ? userTags : Array.from(new Set([query, ...userTags])).filter((tag) => tag + .toString() .toLowerCase() .replace(/\s+/g, "") .includes(query.toLowerCase().replace(/\s+/g, "")),