Slightly simplify container.jsx

pull/309/head
Jason Fischer 2 years ago
parent c533966050
commit d4ad11a63f
No known key found for this signature in database

@ -14,9 +14,5 @@ export default function Container({ error = false, children, service }) {
visibleChildren = children.filter(child => fields.some(field => `${type}.${field}` === child.props?.label)); visibleChildren = children.filter(child => fields.some(field => `${type}.${field}` === child.props?.label));
} }
return ( return <div className="relative flex flex-row w-full">{visibleChildren}</div>;
<div className="relative flex flex-row w-full">
{visibleChildren}
</div>
);
} }

Loading…
Cancel
Save