Commit 63a16752 authored by chris's avatar chris
Browse files

fix register schema

parent 7cede328
......@@ -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 || '';
......
Markdown is supported
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