(val)
| 44 | }, |
| 45 | |
| 46 | removeVal(val){ |
| 47 | let index = this.state.value.indexOf(val); |
| 48 | if (index > -1) { |
| 49 | this.state.value.splice(index, 1); |
| 50 | this.setState({ |
| 51 | value: this.state.value |
| 52 | }, this.valueChange); |
| 53 | } |
| 54 | }, |
| 55 | |
| 56 | valueChange(){ |
| 57 | const {onChange} = this.props; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…