fix: Taginput bug (#1125)

This commit is contained in:
MoLeft
2023-12-09 14:58:07 +08:00
committed by GitHub
parent 7cd58fcba5
commit 3ffb19d0a0
+1 -1
View File
@@ -59,7 +59,7 @@ export function TagInput({
query === ""
? userTags
: Array.from(new Set([query, ...userTags])).filter((tag) =>
tag
(tag ?? '')
.toString()
.toLowerCase()
.replace(/\s+/g, "")