diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-21 22:39:39 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-21 22:39:39 +0800 |
commit | ab7d083aa53f69d98c59529cb708815bf013aa6c (patch) | |
tree | cfbdde4a13c04ced8f285a8d53f8da2b5e934d54 | |
parent | 1f65de60b4790a4602cddd74036a39e0dc87c314 (diff) | |
download | dexon-sol-tools-ab7d083aa53f69d98c59529cb708815bf013aa6c.tar.gz dexon-sol-tools-ab7d083aa53f69d98c59529cb708815bf013aa6c.tar.zst dexon-sol-tools-ab7d083aa53f69d98c59529cb708815bf013aa6c.zip |
Add missing key
-rw-r--r-- | packages/react-docs/src/components/documentation.tsx | 2 |
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' }}> |