diff options
author | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-11-29 16:23:19 +0800 |
---|---|---|
committer | Ezekiel Aquino <ezekiel@bakkenbaeck.no> | 2018-11-29 16:23:19 +0800 |
commit | 0736ba7159f54d45ded79b55a976c96cbc3865e3 (patch) | |
tree | 48d540ed655efe08d00f1fed35163397c3e2f632 /packages/website/ts/@next | |
parent | 44ac385e8bcdadb4208c5afe030e91ae16a8b552 (diff) | |
download | dexon-0x-contracts-0736ba7159f54d45ded79b55a976c96cbc3865e3.tar.gz dexon-0x-contracts-0736ba7159f54d45ded79b55a976c96cbc3865e3.tar.zst dexon-0x-contracts-0736ba7159f54d45ded79b55a976c96cbc3865e3.zip |
Adds key to mapped footer elems
Diffstat (limited to 'packages/website/ts/@next')
-rw-r--r-- | packages/website/ts/@next/components/footer.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/website/ts/@next/components/footer.tsx b/packages/website/ts/@next/components/footer.tsx index 5a501504c..aff5c13c4 100644 --- a/packages/website/ts/@next/components/footer.tsx +++ b/packages/website/ts/@next/components/footer.tsx @@ -57,14 +57,17 @@ export const Footer: React.StatelessComponent<FooterInterface> = ({}) => ( <Column colWidth="1/2" noPadding> <Wrap> {_.map(linkRows, (row, index) => ( - <Column colWidth="1/3" noPadding> + <Column + key={`fc-${index}`} + colWidth="1/3" + noPadding> <RowHeading> { row.heading } </RowHeading> <ul> {_.map(row.links, (link, index) => ( - <li> + <li key={`fl-${index}`}> <Link href={link.url}> { link.text } </Link> |