Skip to content

Commit

Permalink
fix: added key to each child
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Nov 15, 2023
1 parent 99ce9a0 commit ed16dcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/MentorDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,9 @@ function MentorDashboard() {
<div>
<h3 className="font-semibold text-2xl mb-6">Mentor Resources</h3>
<div className="space-y-4">
{MentorResources.map((resource) => (
{MentorResources.map((resource, i) => (
<a
key={i}
target="_blank"
className="block text-primary hover:text-primary-600 hover:underline"
href={resource.url}
Expand Down

0 comments on commit ed16dcc

Please sign in to comment.