Skip to content

Commit

Permalink
fix: refresh user after enrollment
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutV committed Apr 4, 2024
1 parent 30193e7 commit 06db1c9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ async function joinCourse(): Promise<void> {
props.course.name,
]),
);
await refreshUser();
} catch (error) {
addErrorMessage(
t('toasts.messages.error'),
Expand Down

0 comments on commit 06db1c9

Please sign in to comment.