Commit 4f2c5031 authored by nanahira's avatar nanahira

a bit fix

parent 6f004991
......@@ -184,7 +184,7 @@ export class TournamentWrapper {
getParticipantFromId(id: string) {
return this.tournament.participants.find(
(p) => p.getNameMatching()?.userId === id,
(p) => p?.getNameMatching()?.userId === id,
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment