aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/components/documentation.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-03 07:10:15 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-03 07:10:15 +0800
commitad56c9ea785a1146ce9b8715446d6cbbc1f6246b (patch)
treeb7417e14b1122a2a23110818d0a0666d6081fe49 /packages/react-docs/src/components/documentation.tsx
parentdde918e9a0c616ab24bd061212f6024aceee508d (diff)
parentf1ecb8c5cb28a0a7ca6f7ad2ff11194091df62a4 (diff)
downloaddexon-sol-tools-ad56c9ea785a1146ce9b8715446d6cbbc1f6246b.tar
dexon-sol-tools-ad56c9ea785a1146ce9b8715446d6cbbc1f6246b.tar.gz
dexon-sol-tools-ad56c9ea785a1146ce9b8715446d6cbbc1f6246b.tar.bz2
dexon-sol-tools-ad56c9ea785a1146ce9b8715446d6cbbc1f6246b.tar.lz
dexon-sol-tools-ad56c9ea785a1146ce9b8715446d6cbbc1f6246b.tar.xz
dexon-sol-tools-ad56c9ea785a1146ce9b8715446d6cbbc1f6246b.tar.zst
dexon-sol-tools-ad56c9ea785a1146ce9b8715446d6cbbc1f6246b.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/init
Diffstat (limited to 'packages/react-docs/src/components/documentation.tsx')
-rw-r--r--packages/react-docs/src/components/documentation.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/react-docs/src/components/documentation.tsx b/packages/react-docs/src/components/documentation.tsx
index 3cd14923c..a23111297 100644
--- a/packages/react-docs/src/components/documentation.tsx
+++ b/packages/react-docs/src/components/documentation.tsx
@@ -218,11 +218,11 @@ export class Documentation extends React.Component<DocumentationProps, Documenta
_.isEmpty(docSection.events);
const sortedTypes = _.sortBy(docSection.types, 'name');
- const typeDefs = _.map(sortedTypes, customType => {
+ const typeDefs = _.map(sortedTypes, (customType, i) => {
return (
<TypeDefinition
sectionName={sectionName}
- key={`type-${customType.name}`}
+ key={`type-${customType.name}-${i}`}
customType={customType}
docsInfo={this.props.docsInfo}
typeDefinitionByName={typeDefinitionByName}
@@ -353,7 +353,7 @@ export class Documentation extends React.Component<DocumentationProps, Documenta
key={`badge-${networkName}-${sectionName}`}
href={linkIfExists}
target="_blank"
- style={{ color: colors.white, textDecoration: 'none' }}
+ style={{ color: colors.white, textDecoration: 'none', marginTop: 8 }}
>
<Badge title={networkName} backgroundColor={networkNameToColor[networkName]} />
</a>