去除多余代码
This commit is contained in:
parent
3723873d71
commit
d2d20d3efd
|
|
@ -1688,7 +1688,6 @@ const Meeting: React.FC = () => {
|
||||||
// 退出房间
|
// 退出房间
|
||||||
const leaveChannel = async (bool: boolean = true): Promise<void> => {
|
const leaveChannel = async (bool: boolean = true): Promise<void> => {
|
||||||
setIsLeave(true)
|
setIsLeave(true)
|
||||||
setTimeout(async () => {
|
|
||||||
await stopScreenCapture()
|
await stopScreenCapture()
|
||||||
await stopRecorderMedia()
|
await stopRecorderMedia()
|
||||||
if (bool) {
|
if (bool) {
|
||||||
|
|
@ -1707,7 +1706,6 @@ const Meeting: React.FC = () => {
|
||||||
}
|
}
|
||||||
return res
|
return res
|
||||||
})
|
})
|
||||||
}, 1000)
|
|
||||||
}
|
}
|
||||||
// 分享屏幕
|
// 分享屏幕
|
||||||
const clickSharedScreen = async (): Promise<void> => {
|
const clickSharedScreen = async (): Promise<void> => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue