Skip to content

Commit

Permalink
[fix] fixed a bug when connected twice to the same server
Browse files Browse the repository at this point in the history
  • Loading branch information
DerTyp7 committed Jun 28, 2023
1 parent 268252b commit f296bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function App() {
<Viewer
clients={
clients.map((client) => {
if (client.channel?.id === currentChannel?.id) {
if (client.channel?.id === currentChannel?.id && client.channel.connection.id === activeConnectionId) {
return client;
}
}) as IClient[]
Expand Down

0 comments on commit f296bba

Please sign in to comment.