remove some redundant code

This commit is contained in:
rjwats@gmail.com 2018-03-03 18:17:46 +00:00
parent 6496a56dc7
commit 5ffe4ab235
2 changed files with 0 additions and 11 deletions

View File

@ -14,16 +14,6 @@ class APConfiguration extends Component {
selectedTab: "apStatus", selectedTab: "apStatus",
selectedNetwork: null selectedNetwork: null
}; };
this.selectNetwork = this.selectNetwork.bind(this);
this.deselectNetwork = this.deselectNetwork.bind(this);
}
selectNetwork(network) {
this.setState({ selectedTab: "wifiSettings", selectedNetwork:network });
}
deselectNetwork(network) {
this.setState({ selectedNetwork:null });
} }
handleTabChange = (event, selectedTab) => { handleTabChange = (event, selectedTab) => {

View File

@ -14,7 +14,6 @@ class NTPConfiguration extends Component {
}; };
} }
handleTabChange = (event, selectedTab) => { handleTabChange = (event, selectedTab) => {
this.setState({ selectedTab }); this.setState({ selectedTab });
}; };