mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
Slightly simplify container.jsx
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user