diff --git a/src/pages/Home.js b/src/pages/Home.js
index 76e223f..74249d8 100644
--- a/src/pages/Home.js
+++ b/src/pages/Home.js
@@ -1,7 +1,23 @@
-import React, { Component } from 'react';
+import React, { Component, Fragment } from 'react';
import Typography from '@material-ui/core/Typography';
+import FlameLinkComponentCreations from '../components/FlameLinkComponentCreations';
+import flamelinkApp from '../flamelink.js';
class Home extends Component {
+ constructor() {
+ super();
+
+ global.schemaName = 'martenInfo';
+
+ this.state = {
+ schemaDetails: '',
+ }
+
+ flamelinkApp.schemas.getFields(global.schemaName, { fields: [ 'title', 'key', 'type', 'gridColumns', 'description', 'options' ] })
+ .then(result => this.setState({
+ schemaDetails: result
+ }))
+ }
render() {
return (
@@ -9,6 +25,9 @@ class Home extends Component {
Home
+
+
+
);
}