removed home placeholder from home page
This commit is contained in:
		
							parent
							
								
									a753bcfb0f
								
							
						
					
					
						commit
						f015e11864
					
				@ -1,7 +1,6 @@
 | 
			
		||||
import React, { Component, Fragment } from 'react';
 | 
			
		||||
import Typography from '@material-ui/core/Typography';
 | 
			
		||||
import React, { Component } from 'react';
 | 
			
		||||
import FlameLinkComponentCreations from '../components/FlameLinkComponentCreations';
 | 
			
		||||
import flamelinkApp from '../flamelink.js';
 | 
			
		||||
import flamelinkApp from '../flamelink';
 | 
			
		||||
 | 
			
		||||
class Home extends Component {
 | 
			
		||||
    constructor() {
 | 
			
		||||
@ -13,7 +12,7 @@ class Home extends Component {
 | 
			
		||||
            schemaDetails: '',
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        flamelinkApp.schemas.getFields(global.schemaName, { fields: [ 'title', 'key', 'type', 'gridColumns', 'description', 'options' ] })
 | 
			
		||||
        flamelinkApp.schemas.getFields(global.schemaName, { fields: ['title', 'key', 'type', 'gridColumns', 'description', 'options'] })
 | 
			
		||||
            .then(result => this.setState({
 | 
			
		||||
                schemaDetails: result
 | 
			
		||||
            }))
 | 
			
		||||
@ -21,14 +20,7 @@ class Home extends Component {
 | 
			
		||||
 | 
			
		||||
    render() {
 | 
			
		||||
        return (
 | 
			
		||||
            <div>
 | 
			
		||||
                <Typography variant='display1' align='center' gutterBottom>
 | 
			
		||||
                    Home
 | 
			
		||||
                </Typography>
 | 
			
		||||
                <Fragment>
 | 
			
		||||
                    <FlameLinkComponentCreations schemaDetails = {this.state.schemaDetails}/>
 | 
			
		||||
                </Fragment>
 | 
			
		||||
            </div>
 | 
			
		||||
            <FlameLinkComponentCreations schemaDetails={this.state.schemaDetails} />
 | 
			
		||||
        );
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user