Shun Miyazawa 4 лет назад
Родитель
Сommit
5cd2b05295
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      packages/app/src/components/Page/TagsInput.tsx

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

@@ -8,7 +8,6 @@ import { apiGet } from '~/client/util/apiv1-client';
 import { ITagsSearchApiv1Result } from '~/interfaces/tag';
 
 type TypeaheadInstance = {
-  focus: () => void,
   _handleMenuItemSelect: (activeItem: string, e: React.KeyboardEvent) => void,
   state: {
     initialItem: string,
@@ -17,8 +16,8 @@ type TypeaheadInstance = {
 
 type Props = {
   tags: string[],
+  autoFocus: boolean,
   onTagsUpdated: (tags: string[]) => void,
-  autoFocus: boolean
 }
 
 const TagsInput: FC<Props> = (props: Props) => {