Skip to content
Snippets Groups Projects
Commit 63a16752 authored by chris's avatar chris
Browse files

fix register schema

parent 7cede328
No related branches found
No related tags found
1 merge request!201Ui components
......@@ -31,9 +31,10 @@ const serializer = schema => {
};
};
let schema;
const createApplication = props => {
const application = Application.create(props);
application.getSchema();
schema = application.getSchema();
application.bootServices();
return application;
};
......@@ -67,7 +68,6 @@ const Wax = props => {
} = props;
if (!application) return null;
const { schema } = application.schema;
const WaxOnchange = onChange ? onChange : value => true;
const editorContent = value || '';
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment