mirror of
				https://github.com/vector-im/element-web.git
				synced 2025-11-04 10:11:03 +01:00 
			
		
		
		
	then->done
This commit is contained in:
		
							parent
							
								
									1f3ab4425a
								
							
						
					
					
						commit
						40609d7da3
					
				@ -45,7 +45,7 @@ module.exports = React.createClass({
 | 
				
			|||||||
                console.log(error);
 | 
					                console.log(error);
 | 
				
			||||||
                this.setState({ page: "Couldn't load home page" });
 | 
					                this.setState({ page: "Couldn't load home page" });
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        ).then(
 | 
					        ).done(
 | 
				
			||||||
            (body)=>{
 | 
					            (body)=>{
 | 
				
			||||||
                this.setState({ page: body });
 | 
					                this.setState({ page: body });
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user