* client: remove unused addErrorToast method
This commit is contained in:
parent
757bb7285a
commit
54f6710b8f
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue