aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx6
-rw-r--r--packages/website/ts/@next/components/dropdowns/dropdown_products.tsx2
-rw-r--r--packages/website/ts/@next/components/header.tsx3
3 files changed, 5 insertions, 6 deletions
diff --git a/packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx b/packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx
index 8cd2798ce..532aa7314 100644
--- a/packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx
+++ b/packages/website/ts/@next/components/dropdowns/dropdown_developers.tsx
@@ -71,7 +71,7 @@ export const DropdownDevelopers = withTheme((props: Props) => (
<WrapGrid isCentered={false} isWrapped={true}>
{_.map(introData, (item, index) => (
- <RouterLink to={item.url}>
+ <RouterLink key={`introLink-${index}`} to={item.url}>
{item.label}
</RouterLink>
))}
@@ -86,7 +86,7 @@ export const DropdownDevelopers = withTheme((props: Props) => (
<ul>
{_.map(docsData, (item, index) => (
- <li>
+ <li key={`docsLink-${index}`}>
<RouterLink to={item.url}>
{item.label}
</RouterLink>
@@ -102,7 +102,7 @@ export const DropdownDevelopers = withTheme((props: Props) => (
<ul>
{_.map(linksData, (item, index) => (
- <li>
+ <li key={`usefulLink-${index}`}>
<RouterLink to={item.url}>
{item.label}
</RouterLink>
diff --git a/packages/website/ts/@next/components/dropdowns/dropdown_products.tsx b/packages/website/ts/@next/components/dropdowns/dropdown_products.tsx
index 6eb321aa6..9551dd802 100644
--- a/packages/website/ts/@next/components/dropdowns/dropdown_products.tsx
+++ b/packages/website/ts/@next/components/dropdowns/dropdown_products.tsx
@@ -25,7 +25,7 @@ const navData = [
export const DropdownProducts = () => (
<List>
{_.map(navData, (item, index) => (
- <li>
+ <li key={`productLink-${index}`}>
<Link to={item.url}>
<Heading
asElement="h3"
diff --git a/packages/website/ts/@next/components/header.tsx b/packages/website/ts/@next/components/header.tsx
index 52207ddce..bce5ccec7 100644
--- a/packages/website/ts/@next/components/header.tsx
+++ b/packages/website/ts/@next/components/header.tsx
@@ -71,9 +71,8 @@ export class Header extends React.Component<HeaderProps, HeaderState> {
const Subnav = link.dropdownComponent;
return (
- <Wrapper>
+ <Wrapper key={`nav-${index}`}>
<Link
- key={`nav-${index}`}
href={link.url}
isTransparent={true}
isNoBorder={true}