stored xml in tutorial redux store

This commit is contained in:
Delucse
2020-09-08 14:43:30 +02:00
parent 7e0fbf1f75
commit eea893a071
7 changed files with 38 additions and 23 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ class SolutionCheck extends Component {
check = () => {
const workspace = Blockly.getMainWorkspace();
var msg = tutorials[this.props.currentTutorialId].test(workspace);
this.props.tutorialCheck(this.props.currentTutorialId, msg.type);
this.props.tutorialCheck(msg.type);
this.setState({ msg, open: true });
}