chore: simplify

This commit is contained in:
Fabio Berger
2018-10-16 16:35:55 +01:00
parent 6ad98420a0
commit bf51728466

View File

@@ -124,7 +124,7 @@ export class TypeDefinition extends React.Component<TypeDefinitionProps, TypeDef
title={`${typePrefix} ${customType.name}`}
id={this.props.shouldAddId ? typeDefinitionAnchorId : ''}
shouldShowAnchor={this.state.shouldShowAnchor}
isDisabled={this.props.isInPopover ? true : false}
isDisabled={this.props.isInPopover}
/>
<div style={{ fontSize: 16 }}>
<pre>