Steven Fukase 5 lat temu
rodzic
commit
22a060f959

+ 3 - 3
src/client/js/components/Admin/SlackIntegration/AccessTokenSettings.jsx

@@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
 import { useTranslation } from 'react-i18next';
 import AppContainer from '../../../services/AppContainer';
 import { withUnstatedContainers } from '../../UnstatedUtils';
-import { toastSuccess, toastError } from '../../../util/apiNotification';
+import { toastSuccess } from '../../../util/apiNotification';
 
 const AccessTokenSettings = (props) => {
   const { t } = useTranslation('admin');
@@ -12,13 +12,13 @@ const AccessTokenSettings = (props) => {
     if (props.discardTokenHandler != null) {
       props.discardTokenHandler();
     }
-  }
+  };
 
   const generateTokenHandler = () => {
     if (props.generateTokenHandler != null) {
       props.generateTokenHandler();
     }
-  }
+  };
 
   const textboxClickHandler = (e) => {
     e.target.select();