diff --git a/pwa/app/(con)/[locale]/con/[edition]/schedule/components/ScheduleDay.tsx b/pwa/app/(con)/[locale]/con/[edition]/schedule/components/ScheduleDay.tsx index 0dcb9e4f2..90c68b214 100644 --- a/pwa/app/(con)/[locale]/con/[edition]/schedule/components/ScheduleDay.tsx +++ b/pwa/app/(con)/[locale]/con/[edition]/schedule/components/ScheduleDay.tsx @@ -7,6 +7,7 @@ import Overline from "components/con/common/typography/Overline"; import styles from "./ScheduleDay.module.css"; import classNames from "classnames"; import { LanguageContext } from "contexts/con/LanguageContext"; +import { slugify } from "utils"; function ExtraSlotItem({ conference }: { conference: ExtraConference }) { const { locale } = useContext(LanguageContext); @@ -89,11 +90,15 @@ export default function ScheduleDay({ return acc; }, [] as string[]); + const daySlug = slugify(day.title?.[locale] || ''); + return day ? (
+

{day.title?.[locale]}

+
{" "} {getConferenceDate(day.date)}