resolve warnings

This commit is contained in:
Mario Pesch
2021-03-19 15:27:18 +01:00
parent a163c76463
commit 31e0880e7a
19 changed files with 34 additions and 28 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class Tutorial extends Component {
// authentication is completed
this.props.getTutorial(this.props.match.params.tutorialId);
}
else if(this.props.tutorial && !this.props.isLoading && this.props.tutorial._id != this.props.match.params.tutorialId) {
else if(this.props.tutorial && !this.props.isLoading && this.props.tutorial._id !== this.props.match.params.tutorialId) {
this.props.getTutorial(this.props.match.params.tutorialId);
}
if (this.props.message.id === 'GET_TUTORIAL_FAIL') {