Skip to content

Commit 6434098

Browse files
committed
Remove unused QuestionHelp component
1 parent 6be51fd commit 6434098

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

site/components/Workspace/WorkspaceSection.tsx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,20 @@ import Paper from "@material-ui/core/Paper"
22
import { makeStyles } from "@material-ui/core/styles"
33
import Typography from "@material-ui/core/Typography"
44
import React from "react"
5-
import { QuestionHelp } from "./QuestionHelp"
65
import { CardPadding, CardRadius } from "./constants"
76

87
export interface WorkspaceSectionProps {
98
title: string
10-
helpUrl?: string
119
}
1210

13-
export const WorkspaceSection: React.FC<WorkspaceSectionProps> = ({ title, helpUrl, children }) => {
11+
export const WorkspaceSection: React.FC<WorkspaceSectionProps> = ({ title, children }) => {
1412
const styles = useStyles()
1513

16-
let questionHelp = null
17-
18-
if (helpUrl) {
19-
questionHelp = (
20-
<div style={{ margin: "0em 1em" }}>
21-
<QuestionHelp />
22-
</div>
23-
)
24-
}
25-
2614
return (
2715
<Paper elevation={0} className={styles.root}>
2816
<div className={styles.headerContainer}>
2917
<div className={styles.header}>
3018
<Typography variant="h6">{title}</Typography>
31-
{questionHelp}
3219
</div>
3320
</div>
3421

0 commit comments

Comments
 (0)