Skip to content

Commit c53eecc

Browse files
committed
chore: remove unused import, not use array index in key
1 parent 51bd35c commit c53eecc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

web/src/components/CasesDisplay/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
22
import styled from "styled-components";
33

4-
import { Link, useLocation } from "react-router-dom";
4+
import { useLocation } from "react-router-dom";
55

66
import ArrowIcon from "svgs/icons/arrow.svg";
77

web/src/layout/Footer/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const SecuredByKleros: React.FC = () => (
6161
const SocialMedia = () => (
6262
<StyledSocialMedia>
6363
{Object.values(socialmedia).map((site, i) => (
64-
<ExternalLink key={i} to={site.url} target="_blank" rel="noreferrer">
64+
<ExternalLink key={site.url} to={site.url} target="_blank" rel="noreferrer">
6565
<LightButton Icon={site.icon} text="" />
6666
</ExternalLink>
6767
))}

0 commit comments

Comments
 (0)