* client: remove unused addErrorToast method

This commit is contained in:
Ildar Kamalov 2019-06-03 16:18:49 +03:00
parent 757bb7285a
commit 54f6710b8f
4 changed files with 2 additions and 8 deletions

View File

@ -1,6 +1,5 @@
import { connect } from 'react-redux';
import {
addErrorToast,
toggleDhcp,
getDhcpStatus,
getDhcpInterfaces,
@ -21,7 +20,6 @@ const mapStateToProps = (state) => {
};
const mapDispatchToProps = {
addErrorToast,
toggleDhcp,
getDhcpStatus,
getDhcpInterfaces,

View File

@ -1,5 +1,5 @@
import { connect } from 'react-redux';
import { handleUpstreamChange, setUpstream, testUpstream, addErrorToast } from '../actions';
import { handleUpstreamChange, setUpstream, testUpstream } from '../actions';
import { getAccessList, setAccessList } from '../actions/access';
import Dns from '../components/Settings/Dns';
@ -17,7 +17,6 @@ const mapDispatchToProps = {
handleUpstreamChange,
setUpstream,
testUpstream,
addErrorToast,
getAccessList,
setAccessList,
};

View File

@ -1,5 +1,4 @@
import { connect } from 'react-redux';
import { addErrorToast } from '../actions';
import { getTlsStatus, setTlsConfig, validateTlsConfig } from '../actions/encryption';
import Encryption from '../components/Settings/Encryption';
@ -12,7 +11,6 @@ const mapStateToProps = (state) => {
};
const mapDispatchToProps = {
addErrorToast,
getTlsStatus,
setTlsConfig,
validateTlsConfig,

View File

@ -1,5 +1,5 @@
import { connect } from 'react-redux';
import { initSettings, toggleSetting, addErrorToast } from '../actions';
import { initSettings, toggleSetting } from '../actions';
import Settings from '../components/Settings';
const mapStateToProps = (state) => {
@ -13,7 +13,6 @@ const mapStateToProps = (state) => {
const mapDispatchToProps = {
initSettings,
toggleSetting,
addErrorToast,
};
export default connect(