kaori 4 лет назад
Родитель
Сommit
2277adbe86
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      packages/app/src/components/PageEditor/OptionsSelector.jsx

+ 1 - 2
packages/app/src/components/PageEditor/OptionsSelector.jsx

@@ -10,7 +10,7 @@ import {
 import { withUnstatedContainers } from '../UnstatedUtils';
 import { withUnstatedContainers } from '../UnstatedUtils';
 import AppContainer from '~/client/services/AppContainer';
 import AppContainer from '~/client/services/AppContainer';
 import EditorContainer from '~/client/services/EditorContainer';
 import EditorContainer from '~/client/services/EditorContainer';
-import { toastSuccess, toastError } from '~/client/util/apiNotification';
+import { toastError } from '~/client/util/apiNotification';
 
 
 
 
 export const defaultEditorOptions = {
 export const defaultEditorOptions = {
@@ -122,7 +122,6 @@ class OptionsSelector extends React.Component {
 
 
     try {
     try {
       await appContainer.apiv3Put('/personal-setting/editor-settings', { isTextlintEnabled: this.state.isTextlintEnabled });
       await appContainer.apiv3Put('/personal-setting/editor-settings', { isTextlintEnabled: this.state.isTextlintEnabled });
-      toastSuccess(t('toaster.update_successed', { target: 'Textlint' }));
     }
     }
     catch (err) {
     catch (err) {
       toastError(err);
       toastError(err);