Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiebe-Vercoutter committed May 21, 2022
1 parent a132908 commit c213a5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function CoachInput({

useEffect(() => {
async function callCoaches() {
setAvailableCoaches((await getCoaches(editionId, coach, 0)).users);
setAvailableCoaches((await getCoaches(editionId, coach, 0))?.users || []);
}
callCoaches();
}, [coach, editionId]);
Expand Down

0 comments on commit c213a5c

Please sign in to comment.