chore(components): Don't load docs in DraftConfigurator
This commit is contained in:
parent
84606dbcea
commit
bffdc377bf
1 changed files with 0 additions and 12 deletions
|
@ -3,7 +3,6 @@ import PropTypes from 'prop-types'
|
||||||
import IconButton from '@material-ui/core/IconButton'
|
import IconButton from '@material-ui/core/IconButton'
|
||||||
import RightIcon from '@material-ui/icons/KeyboardArrowRight'
|
import RightIcon from '@material-ui/icons/KeyboardArrowRight'
|
||||||
import ResetIcon from '@material-ui/icons/SettingsBackupRestore'
|
import ResetIcon from '@material-ui/icons/SettingsBackupRestore'
|
||||||
import HelpIcon from '@material-ui/icons/Help'
|
|
||||||
import { injectIntl } from 'react-intl'
|
import { injectIntl } from 'react-intl'
|
||||||
|
|
||||||
const OptionPreamble = props => {
|
const OptionPreamble = props => {
|
||||||
|
@ -88,17 +87,6 @@ const OptionPreamble = props => {
|
||||||
>
|
>
|
||||||
<ResetIcon />
|
<ResetIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
{props.noDocs ? null : (
|
|
||||||
<IconButton
|
|
||||||
title={docsLabel}
|
|
||||||
aria-label={docsLabel}
|
|
||||||
color="primary"
|
|
||||||
onClick={props.showHelp}
|
|
||||||
className="mini-icon-btn"
|
|
||||||
>
|
|
||||||
<HelpIcon />
|
|
||||||
</IconButton>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{props.option}
|
{props.option}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue