Remove unused code
This commit is contained in:
parent
13079ef54a
commit
45d88f1ddc
|
@ -32,15 +32,6 @@ export default class App extends React.Component {
|
|||
});
|
||||
}
|
||||
|
||||
doutSet(pin, value) {
|
||||
this.setState({
|
||||
ioState: {
|
||||
...this.state.ioState,
|
||||
dout: this.state.ioState.dout.map((x, i) => i == pin ? value : x),
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
sendUpdate(type, pin, value) {
|
||||
this.state.socket.emit('update', {
|
||||
type: type,
|
||||
|
|
|
@ -20,7 +20,6 @@ module.exports = {
|
|||
devServer: {
|
||||
contentBase: path.join(__dirname, "dist"),
|
||||
publicPath: '/',
|
||||
//inline: true,
|
||||
hot: true,
|
||||
host: '0.0.0.0',
|
||||
disableHostCheck: true
|
||||
|
|
Loading…
Reference in New Issue
Block a user