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

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

@@ -4,7 +4,7 @@ import React, {
 import { AsyncTypeahead } from 'react-bootstrap-typeahead';
 
 import { apiGet } from '~/client/util/apiv1-client';
-
+import { toastError } from '~/client/util/apiNotification';
 import { ITagsSearchApiv1Result } from '~/interfaces/tag';
 
 type TypeaheadInstance = {
@@ -41,7 +41,7 @@ const TagsInput: FC<Props> = (props: Props) => {
       setResultTags(Array.from(new Set(res.tags)));
     }
     catch (err) {
-      //
+      toastError(err);
     }
     finally {
       setLoading(false);