File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { ConferenceYear, SchedSpeaker } from "./sched-types"
2
2
3
3
const allSpeakers : SchedSpeaker [ ] = require ( "../../../../scripts/sync-sched/speakers.json" )
4
4
5
- export async function readSpeakers ( year : ConferenceYear ) : SchedSpeaker [ ] {
5
+ export function readSpeakers ( year : ConferenceYear ) : SchedSpeaker [ ] {
6
6
return (
7
7
allSpeakers
8
8
. filter ( speaker => speaker [ "~years" ] . includes ( year ) )
@@ -15,3 +15,6 @@ export async function readSpeakers(year: ConferenceYear): SchedSpeaker[] {
15
15
} )
16
16
)
17
17
}
18
+
19
+ // TODO: We need to be able to say that a speaker is returning even if they don't share username, only first name and last name.
20
+ // But this needs to be done without adding to `~years` so we don't show duplicates.
You can’t perform that action at this time.
0 commit comments