fix: Taginput bug (#1125)
This commit is contained in:
parent
7cd58fcba5
commit
3ffb19d0a0
|
|
@ -59,7 +59,7 @@ export function TagInput({
|
|||
query === ""
|
||||
? userTags
|
||||
: Array.from(new Set([query, ...userTags])).filter((tag) =>
|
||||
tag
|
||||
(tag ?? '')
|
||||
.toString()
|
||||
.toLowerCase()
|
||||
.replace(/\s+/g, "")
|
||||
|
|
|
|||
Loading…
Reference in New Issue