From b03f53d6a7923cdc66e0d8da00a7a342fcbf0d80 Mon Sep 17 00:00:00 2001 From: Earther Date: Sun, 25 Jul 2021 19:22:49 +0700 Subject: [PATCH] increase streampreview load time --- client/src/components/StreamPreview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/StreamPreview.tsx b/client/src/components/StreamPreview.tsx index a970468..c5f6199 100644 --- a/client/src/components/StreamPreview.tsx +++ b/client/src/components/StreamPreview.tsx @@ -72,7 +72,7 @@ const StreamPreview: FC = ({ title, wsUrl, streamerID, nViewers, startedT // preview doesn't need to be live setTimeout(() => { ws.close(); - }, 1000); + }, 2000); }, [])