Update server management

This commit is contained in:
jeffvli
2022-10-26 16:12:57 -07:00
parent 02e3b96384
commit 1622c12dfa
5 changed files with 166 additions and 11 deletions
@@ -18,9 +18,12 @@ const Section = styled.div`
export const ServerSection = ({ title, children }: ServerSectionProps) => {
return (
<Container>
<Text font={Font.EPILOGUE} size="sm">
{title}
</Text>
{React.isValidElement(title) ? (
title
) : (
<Text font={Font.EPILOGUE}>{title}</Text>
)}
<Section>{children}</Section>
</Container>
);