aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-21 22:39:39 +0800
committerFabio Berger <me@fabioberger.com>2018-08-21 22:39:39 +0800
commitab7d083aa53f69d98c59529cb708815bf013aa6c (patch)
treecfbdde4a13c04ced8f285a8d53f8da2b5e934d54 /packages/react-docs/src
parent1f65de60b4790a4602cddd74036a39e0dc87c314 (diff)
downloaddexon-sol-tools-ab7d083aa53f69d98c59529cb708815bf013aa6c.tar.gz
dexon-sol-tools-ab7d083aa53f69d98c59529cb708815bf013aa6c.tar.zst
dexon-sol-tools-ab7d083aa53f69d98c59529cb708815bf013aa6c.zip
Add missing key
Diffstat (limited to 'packages/react-docs/src')
-rw-r--r--packages/react-docs/src/components/documentation.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/react-docs/src/components/documentation.tsx b/packages/react-docs/src/components/documentation.tsx
index 43a1f746e..0adadb30b 100644
--- a/packages/react-docs/src/components/documentation.tsx
+++ b/packages/react-docs/src/components/documentation.tsx
@@ -316,7 +316,7 @@ export class Documentation extends React.Component<DocumentationProps, Documenta
private _renderExternalExports(externalExportToLink: ExternalExportToLink): React.ReactNode {
const externalExports = _.map(externalExportToLink, (link: string, exportName: string) => {
return (
- <div className="pt2">
+ <div className="pt2" key={`external-export-${exportName}`}>
<code className={`hljs ${constants.TYPE_TO_SYNTAX[this.props.docsInfo.type]}`}>
{`import { `}
<a href={link} target="_blank" style={{ color: colors.lightBlueA700, textDecoration: 'none' }}>