fix build error

This commit is contained in:
Mario 2020-11-17 16:36:23 +01:00
parent 7ffe9ff18b
commit 0829522743
3 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ class Home extends Component {
}
componentDidMount() {
this.setState({ stats: window.localStorage.getItem('stats') })
this.props.workspaceName(createNameId());
fetch(process.env.REACT_APP_BLOCKLY_API + this.props.location.pathname)
.then(res => res.json())

View File

@ -27,7 +27,7 @@ export default function StatsSelector() {
return (
<div>
<FormControl className={classes.formControl}>
<InputLabel id="demo-simple-select-label">Renderer</InputLabel>
<InputLabel id="demo-simple-select-label">Statistiken</InputLabel>
<Select
labelId="demo-simple-select-label"
id="demo-simple-select"

View File

@ -3,8 +3,8 @@ let tutorials = [
require('./tutorial/Schleifen.json'),
require('./tutorial/Wenn-DannBedingungen.json'),
require('./tutorial/VerwendungVonVariablen.json'),
require('./tutorial/AnzeigeVonMesswertenAufDemDisplay.json'),
require('./tutorial/SendenVonMesswertenUeberLoRa.json'),
require('./tutorial/AnzeigeVonMesswertenAufDemDisplay.json'),
require('./tutorial/MesswerteAnDieOpenSenseMapSenden.json')
]