|
@@ -17,10 +17,6 @@ export const MetaPlate = ({ data, children }) => {
|
|
|
if (meta instanceof Array) meta = meta[0];
|
|
|
const Render = meta.type
|
|
|
const props = buildProps(data, meta)
|
|
|
- if (!meta.props.children) {
|
|
|
- return <Render {...props}/>
|
|
|
- }
|
|
|
- console.log(props)
|
|
|
return (<Render {...props}>
|
|
|
{data.map(d => build(d, meta.props.children))}
|
|
|
</Render>
|