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 | |
parent | 44ac385e8bcdadb4208c5afe030e91ae16a8b552 (diff) | |
download | dexon-sol-tools-0736ba7159f54d45ded79b55a976c96cbc3865e3.tar dexon-sol-tools-0736ba7159f54d45ded79b55a976c96cbc3865e3.tar.gz dexon-sol-tools-0736ba7159f54d45ded79b55a976c96cbc3865e3.tar.bz2 dexon-sol-tools-0736ba7159f54d45ded79b55a976c96cbc3865e3.tar.lz dexon-sol-tools-0736ba7159f54d45ded79b55a976c96cbc3865e3.tar.xz dexon-sol-tools-0736ba7159f54d45ded79b55a976c96cbc3865e3.tar.zst dexon-sol-tools-0736ba7159f54d45ded79b55a976c96cbc3865e3.zip |
Adds key to mapped footer elems
Diffstat (limited to 'packages/website/ts')
-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> |