Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Hristo Terezov9e29dd063f0c
diff --git a/react/features/invite/components/add-people-dialog/web/LiveStreamSection.js b/react/features/invite/components/add-people-dialog/web/LiveStreamSection.js
index 383eb0a57f..172eaf5d89 100644
--- a/react/features/invite/components/add-people-dialog/web/LiveStreamSection.js
+++ b/react/features/invite/components/add-people-dialog/web/LiveStreamSection.js
@@ -37,7 +37,7 @@ function LiveStreamSection({ liveStreamViewURL, t }: Props) {
async function onClick() {
setIsHovered(false);
- const isCopied = copyText(liveStreamViewURL);
+ const isCopied = await copyText(liveStreamViewURL);
if (isCopied) {
setIsClicked(true);