We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0541c89 commit 6f10ec0Copy full SHA for 6f10ec0
src/app/conf/_api/sched-data.tsx
@@ -21,6 +21,8 @@ export function readSpeakers(year: ConferenceYear): SchedSpeaker[] {
21
.filter(x => !!x)
22
// we prefer the data from the most recent years
23
.sort((a, b) => Math.max(...a._years) - Math.max(...b._years))
24
+ // and the `year` of the conference we're fetching data for
25
+ .concat([speaker])
26
.reduce(mergeSpeaker)
27
)
28
}
0 commit comments