diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-11-29 00:11:17 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-11-29 00:11:17 +0800 |
commit | f9a7cc94e1af962ac16f87d5300047158428279e (patch) | |
tree | 5eb17b143e9251f1d659f466339d0c4168fb43c0 /packages/website/ts/@next | |
parent | 338207776849bb3846c84e8cdcae261abb0820b6 (diff) | |
download | dexon-sol-tools-f9a7cc94e1af962ac16f87d5300047158428279e.tar dexon-sol-tools-f9a7cc94e1af962ac16f87d5300047158428279e.tar.gz dexon-sol-tools-f9a7cc94e1af962ac16f87d5300047158428279e.tar.bz2 dexon-sol-tools-f9a7cc94e1af962ac16f87d5300047158428279e.tar.lz dexon-sol-tools-f9a7cc94e1af962ac16f87d5300047158428279e.tar.xz dexon-sol-tools-f9a7cc94e1af962ac16f87d5300047158428279e.tar.zst dexon-sol-tools-f9a7cc94e1af962ac16f87d5300047158428279e.zip |
Fix key in loop
Diffstat (limited to 'packages/website/ts/@next')
-rw-r--r-- | packages/website/ts/@next/components/header.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx index 6afa1f58e..670b84fa4 100644 --- a/packages/website/ts/@next/components/header.tsx +++ b/packages/website/ts/@next/components/header.tsx @@ -52,7 +52,7 @@ export const Header: React.StatelessComponent<HeaderInterface> = ({}) => ( <StyledHeader> <Logo/> <Links> - {_.map(links, link => <Link href={link.url}>{link.text}</Link>)} + {_.map(links, (link, index) => <Link key={index} href={link.url}>{link.text}</Link>)} </Links> <Button text="Trade on 0x" /> </StyledHeader> |