react_hsbc_teller 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -32,8 +32,9 @@ let pictureInPictureVideo = ''
32
32
  class Video extends Component {
33
33
  constructor(props) {
34
34
  super(props)
35
- this.cancel = axios.CancelToken.source()
35
+ // this.cancel = axios.CancelToken.source()
36
36
  }
37
+ cancel = axios.CancelToken.source()
37
38
  signCanvas = React.createRef();
38
39
  state = {
39
40
  isWhiteboard: false,
@@ -2280,7 +2281,7 @@ class Video extends Component {
2280
2281
  this.setState = (state, callback) => {
2281
2282
  return
2282
2283
  }
2283
- this.cancel('')
2284
+ this.cancel = ''
2284
2285
  }
2285
2286
  componentWillMount() {
2286
2287
  if (this.props.sessionId) {