Commit 12fa3183 authored by chris's avatar chris

fix wax render for layout

parent b7bc3141
......@@ -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";
......
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