fix build error
This commit is contained in:
parent
7ffe9ff18b
commit
0829522743
@ -54,7 +54,7 @@ class Home extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
this.setState({ stats: window.localStorage.getItem('stats') })
|
||||||
this.props.workspaceName(createNameId());
|
this.props.workspaceName(createNameId());
|
||||||
fetch(process.env.REACT_APP_BLOCKLY_API + this.props.location.pathname)
|
fetch(process.env.REACT_APP_BLOCKLY_API + this.props.location.pathname)
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
|
@ -27,7 +27,7 @@ export default function StatsSelector() {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<FormControl className={classes.formControl}>
|
<FormControl className={classes.formControl}>
|
||||||
<InputLabel id="demo-simple-select-label">Renderer</InputLabel>
|
<InputLabel id="demo-simple-select-label">Statistiken</InputLabel>
|
||||||
<Select
|
<Select
|
||||||
labelId="demo-simple-select-label"
|
labelId="demo-simple-select-label"
|
||||||
id="demo-simple-select"
|
id="demo-simple-select"
|
||||||
|
@ -3,8 +3,8 @@ let tutorials = [
|
|||||||
require('./tutorial/Schleifen.json'),
|
require('./tutorial/Schleifen.json'),
|
||||||
require('./tutorial/Wenn-DannBedingungen.json'),
|
require('./tutorial/Wenn-DannBedingungen.json'),
|
||||||
require('./tutorial/VerwendungVonVariablen.json'),
|
require('./tutorial/VerwendungVonVariablen.json'),
|
||||||
require('./tutorial/AnzeigeVonMesswertenAufDemDisplay.json'),
|
|
||||||
require('./tutorial/SendenVonMesswertenUeberLoRa.json'),
|
require('./tutorial/SendenVonMesswertenUeberLoRa.json'),
|
||||||
|
require('./tutorial/AnzeigeVonMesswertenAufDemDisplay.json'),
|
||||||
require('./tutorial/MesswerteAnDieOpenSenseMapSenden.json')
|
require('./tutorial/MesswerteAnDieOpenSenseMapSenden.json')
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user