This commit is contained in:
parent
25e9f16af0
commit
7b4cfbeb1d
|
|
@ -109,9 +109,11 @@ const StupWizard = forwardRef((_props: any, ref: any) => {
|
|||
cursor: 'pointer'
|
||||
}}
|
||||
onClick={async () => {
|
||||
const userInfo = JSON.parse(storage.getItem('user') as string)
|
||||
if (location.hash.indexOf('/meeting') === -1) {
|
||||
agora.release()
|
||||
}
|
||||
await agora.destroyRendererByConfigPreview(Number(userInfo.screenShareId), c)
|
||||
setIsStupWizard(false)
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue