Browse Source

fix(live-stream-section): Use await for copyText

j8
Hristo Terezov 4 years ago
parent
commit
9e29dd063f

+ 1
- 1
react/features/invite/components/add-people-dialog/web/LiveStreamSection.js View File

37
     async function onClick() {
37
     async function onClick() {
38
         setIsHovered(false);
38
         setIsHovered(false);
39
 
39
 
40
-        const isCopied = copyText(liveStreamViewURL);
40
+        const isCopied = await copyText(liveStreamViewURL);
41
 
41
 
42
         if (isCopied) {
42
         if (isCopied) {
43
             setIsClicked(true);
43
             setIsClicked(true);

Loading…
Cancel
Save