Skip to content

Commit

Permalink
remove decline call when call missed
Browse files Browse the repository at this point in the history
Changelog: fixed
  • Loading branch information
antonbuks committed May 30, 2024
1 parent 88ef2dd commit 564549d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions webapp/channels/src/components/kmeet_modal/kmeet_modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ const KmeetModal: FC<Props> = ({channel, conference, caller, users, user}) => {

// document.addEventListener('click', handleClickOutsideModal);

const timeout = setTimeout(() => {
onHandleDecline();
}, 30000);

return () => {
// document.removeEventListener('click', handleClickOutsideModal);
clearTimeout(timeout);
};
// const timeout = setTimeout(() => {
// onHandleDecline();
// }, 30000);

// return () => {
// // document.removeEventListener('click', handleClickOutsideModal);
// clearTimeout(timeout);
// };
}, [onHandleDecline]);

useEffect(() => {
Expand Down

0 comments on commit 564549d

Please sign in to comment.