File tree 1 file changed +1
-14
lines changed
site/components/Workspace
1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -2,33 +2,20 @@ import Paper from "@material-ui/core/Paper"
2
2
import { makeStyles } from "@material-ui/core/styles"
3
3
import Typography from "@material-ui/core/Typography"
4
4
import React from "react"
5
- import { QuestionHelp } from "./QuestionHelp"
6
5
import { CardPadding , CardRadius } from "./constants"
7
6
8
7
export interface WorkspaceSectionProps {
9
8
title : string
10
- helpUrl ?: string
11
9
}
12
10
13
- export const WorkspaceSection : React . FC < WorkspaceSectionProps > = ( { title, helpUrl , children } ) => {
11
+ export const WorkspaceSection : React . FC < WorkspaceSectionProps > = ( { title, children } ) => {
14
12
const styles = useStyles ( )
15
13
16
- let questionHelp = null
17
-
18
- if ( helpUrl ) {
19
- questionHelp = (
20
- < div style = { { margin : "0em 1em" } } >
21
- < QuestionHelp />
22
- </ div >
23
- )
24
- }
25
-
26
14
return (
27
15
< Paper elevation = { 0 } className = { styles . root } >
28
16
< div className = { styles . headerContainer } >
29
17
< div className = { styles . header } >
30
18
< Typography variant = "h6" > { title } </ Typography >
31
- { questionHelp }
32
19
</ div >
33
20
</ div >
34
21
You can’t perform that action at this time.
0 commit comments