Просмотр исходного кода

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

j8
Hristo Terezov 4 лет назад
Родитель
Сommit
9e29dd063f

+ 1
- 1
react/features/invite/components/add-people-dialog/web/LiveStreamSection.js Просмотреть файл

@@ -37,7 +37,7 @@ function LiveStreamSection({ liveStreamViewURL, t }: Props) {
37 37
     async function onClick() {
38 38
         setIsHovered(false);
39 39
 
40
-        const isCopied = copyText(liveStreamViewURL);
40
+        const isCopied = await copyText(liveStreamViewURL);
41 41
 
42 42
         if (isCopied) {
43 43
             setIsClicked(true);

Загрузка…
Отмена
Сохранить