Skip to content

Commit 5618640

Browse files
refactor: Remove duplicated title (#3829)
1 parent 55c13c8 commit 5618640

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

site/src/components/TemplateResourcesTable/TemplateResourcesTable.tsx

+1-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const TemplateResourcesTable: FC<React.PropsWithChildren<TemplateResource
2929
const styles = useStyles()
3030

3131
return (
32-
<TableContainer className={styles.tableContainer}>
32+
<TableContainer>
3333
<Table>
3434
<TableHead>
3535
<TableHeaderRow>
@@ -103,10 +103,6 @@ const useStyles = makeStyles((theme) => ({
103103
margin: 0,
104104
},
105105

106-
tableContainer: {
107-
border: 0,
108-
},
109-
110106
resourceNameCell: {
111107
borderRight: `1px solid ${theme.palette.divider}`,
112108
},

site/src/pages/TemplatePage/TemplatePageView.tsx

+1-9
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,7 @@ export const TemplatePageView: FC<React.PropsWithChildren<TemplatePageViewProps>
141141
{deleteError}
142142
{templateDAUs && <DAUChart templateDAUs={templateDAUs} />}
143143
<TemplateStats template={template} activeVersion={activeTemplateVersion} />
144-
<WorkspaceSection
145-
title={Language.resourcesTitle}
146-
contentsProps={{ className: styles.resourcesTableContents }}
147-
>
148-
<TemplateResourcesTable resources={getStartedResources(templateResources)} />
149-
</WorkspaceSection>
144+
<TemplateResourcesTable resources={getStartedResources(templateResources)} />
150145
<WorkspaceSection
151146
title={Language.readmeTitle}
152147
contentsProps={{ className: styles.readmeContents }}
@@ -196,9 +191,6 @@ export const useStyles = makeStyles((theme) => {
196191
wordWrap: "break-word",
197192
},
198193
},
199-
resourcesTableContents: {
200-
margin: 0,
201-
},
202194
versionsTableContents: {
203195
margin: 0,
204196
},

0 commit comments

Comments
 (0)