Remove unused code
This commit is contained in:
		| @@ -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) { |     sendUpdate(type, pin, value) { | ||||||
|         this.state.socket.emit('update', { |         this.state.socket.emit('update', { | ||||||
|             type: type, |             type: type, | ||||||
|   | |||||||
| @@ -20,7 +20,6 @@ module.exports = { | |||||||
|     devServer: { |     devServer: { | ||||||
|         contentBase: path.join(__dirname, "dist"), |         contentBase: path.join(__dirname, "dist"), | ||||||
|         publicPath: '/', |         publicPath: '/', | ||||||
|         //inline: true, |  | ||||||
|         hot: true, |         hot: true, | ||||||
|         host: '0.0.0.0', |         host: '0.0.0.0', | ||||||
|         disableHostCheck: true |         disableHostCheck: true | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user