Skip to content

Commit

Permalink
Fix unique key
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-kl1 committed Feb 4, 2025
1 parent 0067ec7 commit b07ac90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/speakers/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Push from "@/layouts/Push/Push";
import Person from "@/components/Person/Person";
import React from "react";
import { PersonProps } from "@/components/Person/PersonProps";
import SpeakerPopIn from "@/components/Speakers/Speaker/PersonPopIn";
import SpeakerPopIn from "@/components/Speakers/Speaker/SpeakerPopIn";

export default function Page() {
const { t } = useTranslation(['speakers']);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const SpeakerPopIn = ({
>
{sessions.map((session, index) => (
<div className="rounded-xl gap-6 p-6 bg-white" key={index}>
<Session session={session} key={index} />
<Session session={session} />
</div>
))}
</PersonPopIn>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Speakers/SpeakersList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import ButtonLink from "@/components/ButtonLink/ButtonLink";
import { useTranslation } from "react-i18next";
import Person from "@/components/Person/Person";
import { PersonProps } from "@/components/Person/PersonProps";
import SpeakerPopIn from "@/components/Speakers/Speaker/PersonPopIn";
import SpeakerPopIn from "@/components/Speakers/Speaker/SpeakerPopIn";

const SpeakersList = ({ speakers }: { speakers: PersonProps[] }) => {
const { width } = useWindowSize();
Expand Down

0 comments on commit b07ac90

Please sign in to comment.