store only xml if tutorial-id exists

This commit is contained in:
Delucse
2020-09-08 15:06:26 +02:00
parent eea893a071
commit 4f34811a94
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class ClearWorkspace extends Component {
ClearWorkspace.propTypes = {
clearStats: PropTypes.func.isRequired,
onChangeWorkspace: PropTypes.func.isRequired
onChangeCode: PropTypes.func.isRequired
};
+1 -1
View File
@@ -100,7 +100,7 @@ class Tutorial extends Component {
Tutorial.propTypes = {
tutorialId: PropTypes.func.isRequired,
currentTutorialId: PropTypes.number.isRequired,
currentTutorialId: PropTypes.number,
status: PropTypes.array.isRequired,
change: PropTypes.number.isRequired
};