aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-10-16 23:35:55 +0800
committerFabio Berger <me@fabioberger.com>2018-10-16 23:35:55 +0800
commitbf51728466956837bbe669dfa0883c4d6611a628 (patch)
treee11ca76068ba3598adcd71ef704fb391bdb825bd /packages
parent6ad98420a033a5737e962adf6863b0ed1a682b5b (diff)
downloaddexon-sol-tools-bf51728466956837bbe669dfa0883c4d6611a628.tar
dexon-sol-tools-bf51728466956837bbe669dfa0883c4d6611a628.tar.gz
dexon-sol-tools-bf51728466956837bbe669dfa0883c4d6611a628.tar.bz2
dexon-sol-tools-bf51728466956837bbe669dfa0883c4d6611a628.tar.lz
dexon-sol-tools-bf51728466956837bbe669dfa0883c4d6611a628.tar.xz
dexon-sol-tools-bf51728466956837bbe669dfa0883c4d6611a628.tar.zst
dexon-sol-tools-bf51728466956837bbe669dfa0883c4d6611a628.zip
chore: simplify
Diffstat (limited to 'packages')
-rw-r--r--packages/react-docs/src/components/type_definition.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/react-docs/src/components/type_definition.tsx b/packages/react-docs/src/components/type_definition.tsx
index e1c4f1f2b..3b64247f2 100644
--- a/packages/react-docs/src/components/type_definition.tsx
+++ b/packages/react-docs/src/components/type_definition.tsx
@@ -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>