From cd6cce7d1e0e138720e96ac7382535b575b66785 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Tue, 24 Sep 2024 18:10:31 +0300 Subject: [PATCH] Remove all remaining calls to getSpeakerName --- src/Schedule/Schedule.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Schedule/Schedule.jsx b/src/Schedule/Schedule.jsx index ebae401..2cf1d82 100644 --- a/src/Schedule/Schedule.jsx +++ b/src/Schedule/Schedule.jsx @@ -1,6 +1,6 @@ import PropTypes from 'prop-types'; import useSchedule from '../hooks/useSchedule.js'; -import { getSpeakerName, isTrackHidden } from './utils.js'; +import { isTrackHidden } from './utils.js'; import { Fragment, useState } from 'react'; import useScheduleTable from '../hooks/useScheduleTable.js'; import Event from './Event.jsx'; @@ -98,14 +98,14 @@ export default function Schedule({
{speakers.map(speaker =>
- {getSpeakerName(speaker)} + {speaker.name}
)}
{speakers.map(speaker =>
- {getSpeakerName(speaker)}/ -

{getSpeakerName(speaker)}

+ {speaker.name}/ +

{speaker.name}

{speaker.twitter &&