fix build error
This commit is contained in:
		
							parent
							
								
									7ffe9ff18b
								
							
						
					
					
						commit
						0829522743
					
				| @ -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()) | ||||
|  | ||||
| @ -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" | ||||
|  | ||||
| @ -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') | ||||
| ] | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user