Skip to content

Commit

Permalink
fix: add return fn
Browse files Browse the repository at this point in the history
  • Loading branch information
corlard3y committed May 27, 2024
1 parent c244626 commit b0ac6c5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ export const ChatViewList: React.FC<IChatViewListProps> = (options: IChatViewLis
return () => clearTimeout(timer);
}

return () => {
// add comment
};
}, [chatAcceptStream, participantJoinStream]);

// Change listtype to 'UINITIALIZED' and hidden to true when participantRemoveStream or participantLeaveStream is received
Expand Down

0 comments on commit b0ac6c5

Please sign in to comment.