removed hyphens from tags

This commit is contained in:
Martina 2021-04-01 13:43:18 -07:00
parent 0af771dd58
commit 6d49bc7818

View File

@ -475,7 +475,7 @@ export const Tag = ({
const _handleChange = (e) => setValue(e.target.value.toLowerCase());
const _handleKeyPress = (e) => {
let regex = /[a-z0-9\s-]/i;
let regex = /[a-z0-9\s]/i;
if (e.key === "Enter" && value.length) {
_handleAdd(value);