Просмотр исходного кода

Merge pull request #7482 from weseek/fix/lint-error

fix: Lint error
Ryoji Shimizu 3 лет назад
Родитель
Сommit
9dde3d1d95

+ 1 - 1
packages/app/src/components/Admin/App/QuestionnaireSettings.tsx

@@ -4,8 +4,8 @@ import {
 
 import { useTranslation } from 'next-i18next';
 
-import { toastSuccess, toastError } from '~/client/util/apiNotification';
 import { apiv3Put } from '~/client/util/apiv3-client';
+import { toastSuccess, toastError } from '~/client/util/toastr';
 import { useSWRxAppSettings } from '~/stores/admin/app-settings';
 
 import AdminUpdateButtonRow from '../Common/AdminUpdateButtonRow';

+ 1 - 1
packages/app/src/components/Me/OtherSettings.tsx

@@ -5,8 +5,8 @@ import {
 import { useTranslation } from 'next-i18next';
 import { UncontrolledTooltip } from 'reactstrap';
 
-import { toastSuccess, toastError } from '~/client/util/apiNotification';
 import { apiv3Put } from '~/client/util/apiv3-client';
+import { toastSuccess, toastError } from '~/client/util/toastr';
 import { useCurrentUser } from '~/stores/context';
 import { useSWRxIsQuestionnaireEnabled } from '~/stores/questionnaire';