itizawa před 6 roky
rodič
revize
96d29514a9
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 2
      src/client/js/components/Me/PasswordSettings.jsx

+ 1 - 2
src/client/js/components/Me/PasswordSettings.jsx

@@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
 import { withTranslation } from 'react-i18next';
 import { withTranslation } from 'react-i18next';
 
 
 
 
-import { toastSuccess, toastError } from '../../util/apiNotification';
+import { toastError } from '../../util/apiNotification';
 import { createSubscribedElement } from '../UnstatedUtils';
 import { createSubscribedElement } from '../UnstatedUtils';
 
 
 import AppContainer from '../../services/AppContainer';
 import AppContainer from '../../services/AppContainer';
@@ -27,7 +27,6 @@ class PasswordSettings extends React.Component {
   }
   }
 
 
   async onClickSubmit() {
   async onClickSubmit() {
-    const { t } = this.props;
 
 
     try {
     try {
       // await personalContainer.updateBasicInfo();
       // await personalContainer.updateBasicInfo();