refactor: Remove duplicated title (#3829)

This commit is contained in:
Bruno Quaresma
2022-09-02 16:49:41 +00:00
committed by GitHub
parent 55c13c8ff9
commit 5618640227
2 changed files with 2 additions and 14 deletions
@@ -29,7 +29,7 @@ export const TemplateResourcesTable: FC<React.PropsWithChildren<TemplateResource
const styles = useStyles()
return (
<TableContainer className={styles.tableContainer}>
<TableContainer>
<Table>
<TableHead>
<TableHeaderRow>
@@ -103,10 +103,6 @@ const useStyles = makeStyles((theme) => ({
margin: 0,
},
tableContainer: {
border: 0,
},
resourceNameCell: {
borderRight: `1px solid ${theme.palette.divider}`,
},
@@ -141,12 +141,7 @@ export const TemplatePageView: FC<React.PropsWithChildren<TemplatePageViewProps>
{deleteError}
{templateDAUs && <DAUChart templateDAUs={templateDAUs} />}
<TemplateStats template={template} activeVersion={activeTemplateVersion} />
<WorkspaceSection
title={Language.resourcesTitle}
contentsProps={{ className: styles.resourcesTableContents }}
>
<TemplateResourcesTable resources={getStartedResources(templateResources)} />
</WorkspaceSection>
<TemplateResourcesTable resources={getStartedResources(templateResources)} />
<WorkspaceSection
title={Language.readmeTitle}
contentsProps={{ className: styles.readmeContents }}
@@ -196,9 +191,6 @@ export const useStyles = makeStyles((theme) => {
wordWrap: "break-word",
},
},
resourcesTableContents: {
margin: 0,
},
versionsTableContents: {
margin: 0,
},