remove some redundant code
This commit is contained in:
parent
6496a56dc7
commit
5ffe4ab235
@ -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) => {
|
||||||
|
@ -14,7 +14,6 @@ class NTPConfiguration extends Component {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
handleTabChange = (event, selectedTab) => {
|
handleTabChange = (event, selectedTab) => {
|
||||||
this.setState({ selectedTab });
|
this.setState({ selectedTab });
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user