* client: remove unused addErrorToast method
This commit is contained in:
parent
757bb7285a
commit
54f6710b8f
@ -1,6 +1,5 @@
|
|||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import {
|
import {
|
||||||
addErrorToast,
|
|
||||||
toggleDhcp,
|
toggleDhcp,
|
||||||
getDhcpStatus,
|
getDhcpStatus,
|
||||||
getDhcpInterfaces,
|
getDhcpInterfaces,
|
||||||
@ -21,7 +20,6 @@ const mapStateToProps = (state) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const mapDispatchToProps = {
|
const mapDispatchToProps = {
|
||||||
addErrorToast,
|
|
||||||
toggleDhcp,
|
toggleDhcp,
|
||||||
getDhcpStatus,
|
getDhcpStatus,
|
||||||
getDhcpInterfaces,
|
getDhcpInterfaces,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux';
|
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 { getAccessList, setAccessList } from '../actions/access';
|
||||||
import Dns from '../components/Settings/Dns';
|
import Dns from '../components/Settings/Dns';
|
||||||
|
|
||||||
@ -17,7 +17,6 @@ const mapDispatchToProps = {
|
|||||||
handleUpstreamChange,
|
handleUpstreamChange,
|
||||||
setUpstream,
|
setUpstream,
|
||||||
testUpstream,
|
testUpstream,
|
||||||
addErrorToast,
|
|
||||||
getAccessList,
|
getAccessList,
|
||||||
setAccessList,
|
setAccessList,
|
||||||
};
|
};
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { addErrorToast } from '../actions';
|
|
||||||
import { getTlsStatus, setTlsConfig, validateTlsConfig } from '../actions/encryption';
|
import { getTlsStatus, setTlsConfig, validateTlsConfig } from '../actions/encryption';
|
||||||
import Encryption from '../components/Settings/Encryption';
|
import Encryption from '../components/Settings/Encryption';
|
||||||
|
|
||||||
@ -12,7 +11,6 @@ const mapStateToProps = (state) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const mapDispatchToProps = {
|
const mapDispatchToProps = {
|
||||||
addErrorToast,
|
|
||||||
getTlsStatus,
|
getTlsStatus,
|
||||||
setTlsConfig,
|
setTlsConfig,
|
||||||
validateTlsConfig,
|
validateTlsConfig,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
import { initSettings, toggleSetting, addErrorToast } from '../actions';
|
import { initSettings, toggleSetting } from '../actions';
|
||||||
import Settings from '../components/Settings';
|
import Settings from '../components/Settings';
|
||||||
|
|
||||||
const mapStateToProps = (state) => {
|
const mapStateToProps = (state) => {
|
||||||
@ -13,7 +13,6 @@ const mapStateToProps = (state) => {
|
|||||||
const mapDispatchToProps = {
|
const mapDispatchToProps = {
|
||||||
initSettings,
|
initSettings,
|
||||||
toggleSetting,
|
toggleSetting,
|
||||||
addErrorToast,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default connect(
|
export default connect(
|
||||||
|
Loading…
Reference in New Issue
Block a user