Archived
haribo
This commit is contained in:
+5
-3
@@ -88,14 +88,15 @@ class VideoPlayer extends React.Component {
|
||||
})
|
||||
.then(
|
||||
response => console.info(response.data),
|
||||
error => console.info(error)
|
||||
error => console.info(error, videoIdWatched.toString())
|
||||
);
|
||||
// local storage logic for recent reccomender
|
||||
//.finally(()=>{})
|
||||
clearInterval(timerId1);
|
||||
},
|
||||
error => console.error(error)
|
||||
)
|
||||
.finally(() => this.setState({ promise1: null }));
|
||||
.finally(() => this.setState({ promise1: null, outsideReject1: null }));
|
||||
break;
|
||||
case 5:
|
||||
if (this.state.promise1)
|
||||
@@ -104,7 +105,8 @@ class VideoPlayer extends React.Component {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
});
|
||||
})
|
||||
.finally(()=>{this.setState({promise2: null, outsideReject2: null})});
|
||||
}
|
||||
}
|
||||
_onStateChange = this._onStateChange.bind(this);
|
||||
|
||||
Reference in New Issue
Block a user