Skip to content
Snippets Groups Projects
Commit 97249f5e authored by Christos's avatar Christos
Browse files

Merge branch 'fix-wax-render' into 'master'

fix wax render for layout

See merge request !19
parents b7bc3141 12fa3183
No related branches found
No related tags found
1 merge request!19fix wax render for layout
......@@ -21,9 +21,7 @@ class Default extends Component {
theme="default"
layout="default"
debug
>
{({ editor }) => <React.Fragment>{editor}</React.Fragment>}
</Wax>
/>
);
}
}
......
......@@ -89,7 +89,7 @@ class Wax extends Component {
<React.Fragment>{editor}</React.Fragment>
);
const WaxRender = children.length ? children : defaultRender;
const WaxRender = children ? children : defaultRender;
const WaxLayout = layout
? `wax-container wax-l-${layout}`
: "wax-container";
......
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