store only xml if tutorial-id exists
This commit is contained in:
@@ -39,7 +39,7 @@ class ClearWorkspace extends Component {
|
||||
|
||||
ClearWorkspace.propTypes = {
|
||||
clearStats: PropTypes.func.isRequired,
|
||||
onChangeWorkspace: PropTypes.func.isRequired
|
||||
onChangeCode: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user