Skip to content

Commit 625db34

Browse files
authored
Merge pull request #4428 from CodeHarborHub/ajay-dhangar-patch-7
'CompanyLink' is defined but never used
2 parents 593552f + 73350af commit 625db34

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/components/TeamProfileCards/index.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ function WebsiteLink({ to, children }: { to: string; children?: ReactNode }) {
1414
);
1515
}
1616

17-
function CompanyLink({ to, children }: { to: string; children?: ReactNode }) {
18-
return (
19-
<Link to={to}>
20-
{children ?? (
21-
<Translate id="team.profile.CompanyLinkLabel">company</Translate>
22-
)}
23-
</Link>
24-
);
25-
}
17+
// function CompanyLink({ to, children }: { to: string; children?: ReactNode }) {
18+
// return (
19+
// <Link to={to}>
20+
// {children ?? (
21+
// <Translate id="team.profile.CompanyLinkLabel">company</Translate>
22+
// )}
23+
// </Link>
24+
// );
25+
// }
2626

2727
type ProfileProps = {
2828
className?: string;
@@ -76,7 +76,7 @@ function TeamProfileCard({
7676
<Link className="button button--secondary" href={twitterUrl}>
7777
Twitter
7878
</Link>
79-
)}
79+
)}
8080
</div>
8181
</div>
8282
</div>
@@ -95,9 +95,9 @@ export function ActiveTeamRow(): JSX.Element {
9595
<div className="row">
9696
<TeamProfileCardCol
9797
name="Ajay Dhangar"
98-
githubUrl="https://github.com/ajay-dhangar"
98+
githubUrl="https://github.com/ajay-dhangar"
9999
linkedInUrl="https://www.linkedin.com/in/ajay-dhangar"
100-
twitterUrl="https://twitter.com/CodesWithAjay"
100+
twitterUrl="https://twitter.com/CodesWithAjay"
101101
>
102102
<Translate
103103
id="team.profile.Sebastien Lorber.body"
@@ -156,7 +156,7 @@ export function StudentFellowsTeamRow(): JSX.Element {
156156
"B.Tech student, open source enthusiast, and tech blogger. He loves to contribute to open source and write articles on his {websiteLink}."
157157
}
158158
</Translate>
159-
</TeamProfileCardCol>
159+
</TeamProfileCardCol>
160160
</div>
161161
);
162162
}

0 commit comments

Comments
 (0)