Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Feb 23, 2023
1 parent 030ced3 commit 6c72541
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/stores/RoomViewStore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,9 @@ export class RoomViewStore extends EventEmitter {
joining: false,
joinError: payload.err,
});
this.showJoinRoomError(payload.err, payload.roomId);
if (payload.err) {
this.showJoinRoomError(payload.err, payload.roomId);
}
}

public reset(): void {
Expand Down

0 comments on commit 6c72541

Please sign in to comment.