Skip to content

Commit

Permalink
always close channelInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoile committed May 23, 2024
1 parent e7a604b commit bf457cf
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,9 @@ const ChannelInfoStartButton = ({
setJoiningMsg(isACallInCurrentChannel ? joining : starting);
setConnecting(true);

const connected = await leaveAndJoinWithAlert(intl, serverUrl, channelId);
await leaveAndJoinWithAlert(intl, serverUrl, channelId);
setConnecting(false);
if (connected) {
dismissChannelInfo();
}
dismissChannelInfo();
}
}, [isLimitRestricted, alreadyInCall, dismissChannelInfo, intl, serverUrl, channelId, isACallInCurrentChannel]);

Expand Down

0 comments on commit bf457cf

Please sign in to comment.