checking the Blocks with the solution using the XML strings

This commit is contained in:
Delucse
2020-09-10 13:46:31 +02:00
parent f14508a5ca
commit ab016610bd
6 changed files with 102 additions and 8 deletions
-3
View File
@@ -2,8 +2,6 @@ import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import * as Blockly from 'blockly/core';
import BlocklyWindow from '../Blockly/BlocklyWindow';
import { tutorials } from './tutorials';
@@ -15,7 +13,6 @@ class Instruction extends Component {
render() {
var currentTutorialId = this.props.currentTutorialId;
console.log(currentTutorialId);
return (
tutorials[currentTutorialId].instruction ?
<div>