Skip to content

Commit

Permalink
fix: null speaker returned on event page
Browse files Browse the repository at this point in the history
  • Loading branch information
theClarkSell committed May 19, 2022
1 parent 491b783 commit 34f06a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/events/_components/speakers/_Speakers.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
export let max = 10;
$: speakers = uniqBy(
event.speakers.filter((x) => x.profileSlug != 'thatconference'),
event.speakers.filter((s) => s).filter((x) => x.profileSlug != 'thatconference'),
(i) => i.id
).slice(0, max);
Expand Down

0 comments on commit 34f06a2

Please sign in to comment.