mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Slightly simplify container.jsx
This commit is contained in:
parent
c533966050
commit
d4ad11a63f
@ -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…
x
Reference in New Issue
Block a user