Slightly simplify container.jsx
This commit is contained in:
parent
c533966050
commit
d4ad11a63f
1 changed files with 1 additions and 5 deletions
|
@ -14,9 +14,5 @@ export default function Container({ error = false, children, service }) {
|
|||
visibleChildren = children.filter(child => fields.some(field => `${type}.${field}` === child.props?.label));
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="relative flex flex-row w-full">
|
||||
{visibleChildren}
|
||||
</div>
|
||||
);
|
||||
return <div className="relative flex flex-row w-full">{visibleChildren}</div>;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue