aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-11 21:33:53 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-11 21:35:17 +0800
commit33b36eaf07025d774cf8cdb728c331451605f3c9 (patch)
tree911a3c7c1e8c74ff21d9c6b2975256587aadfd93 /packages/website
parent27bf0d8a165783f8deeba9fdf47d203bf603ed37 (diff)
downloaddexon-sol-tools-33b36eaf07025d774cf8cdb728c331451605f3c9.tar
dexon-sol-tools-33b36eaf07025d774cf8cdb728c331451605f3c9.tar.gz
dexon-sol-tools-33b36eaf07025d774cf8cdb728c331451605f3c9.tar.bz2
dexon-sol-tools-33b36eaf07025d774cf8cdb728c331451605f3c9.tar.lz
dexon-sol-tools-33b36eaf07025d774cf8cdb728c331451605f3c9.tar.xz
dexon-sol-tools-33b36eaf07025d774cf8cdb728c331451605f3c9.tar.zst
dexon-sol-tools-33b36eaf07025d774cf8cdb728c331451605f3c9.zip
Add keys to chapters
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/@next/pages/why.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/@next/pages/why.tsx b/packages/website/ts/@next/pages/why.tsx
index 7e01114c8..b31cbb277 100644
--- a/packages/website/ts/@next/pages/why.tsx
+++ b/packages/website/ts/@next/pages/why.tsx
@@ -135,7 +135,7 @@ export class NextWhy extends React.PureComponent {
<Heading size="medium">What 0x offers</Heading>
{_.map(offersData, (item, index) => (
- <ChapterItemWrap key={`chapter-${index}`}>
+ <ChapterItemWrap key={`benefits-${index}`}>
<Icon name={item.icon} size="medium" margin={[0, 0, 22, 0]} />
<Heading marginBottom="15px">
@@ -158,7 +158,7 @@ export class NextWhy extends React.PureComponent {
<Heading size="medium">Exchange Functionality</Heading>
{_.map(functionalityData, (item, index) => (
- <ChapterItemWrap>
+ <ChapterItemWrap key={`functionality-${index}`}>
<Icon name={item.icon} size="medium" margin={[0, 0, 22, 0]} />
<Heading marginBottom="15px">