Shun Miyazawa 4 lat temu
rodzic
commit
4f7b965a01
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/app/src/components/Page/TagsInput.tsx

+ 1 - 1
packages/app/src/components/Page/TagsInput.tsx

@@ -49,7 +49,7 @@ const TagsInput: FC<Props> = (props: Props) => {
   };
 
   const handleSelect = (e: React.KeyboardEvent) => {
-    if (e.key === 'Enter' || e.key === ' ') {
+    if (e.key === ' ') {
       e.preventDefault();
 
       const initialItem = tagsInputRef?.current?.state?.initialItem;