diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-03 07:10:15 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-03 07:10:15 +0800 |
commit | ad56c9ea785a1146ce9b8715446d6cbbc1f6246b (patch) | |
tree | b7417e14b1122a2a23110818d0a0666d6081fe49 /packages/react-docs/src/components/interface.tsx | |
parent | dde918e9a0c616ab24bd061212f6024aceee508d (diff) | |
parent | f1ecb8c5cb28a0a7ca6f7ad2ff11194091df62a4 (diff) | |
download | dexon-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/interface.tsx')
-rw-r--r-- | packages/react-docs/src/components/interface.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/react-docs/src/components/interface.tsx b/packages/react-docs/src/components/interface.tsx index 9f0800d71..cad7d6c46 100644 --- a/packages/react-docs/src/components/interface.tsx +++ b/packages/react-docs/src/components/interface.tsx @@ -20,9 +20,9 @@ export interface InterfaceProps { export const Interface: React.SFC<InterfaceProps> = (props: InterfaceProps): any => { const type = props.type; - const properties = _.map(type.children, property => { + const properties = _.map(type.children, (property, i) => { return ( - <span key={`property-${property.name}-${property.type}-${type.name}`}> + <span key={`property-${property.name}-${property.type}-${type.name}-${i}`}> {property.name}:{' '} {property.type && !_.isUndefined(property.type.method) ? ( <Signature |