From 57e05b2cef954f2c89a5f51bebf9b152ea08ebf8 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Mon, 25 Mar 2024 02:06:59 -0300 Subject: [PATCH] Render AudioControl.tsx at end of stream --- src/js/components/Stream.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/components/Stream.tsx b/src/js/components/Stream.tsx index 0de6dc8..02c719b 100644 --- a/src/js/components/Stream.tsx +++ b/src/js/components/Stream.tsx @@ -67,7 +67,7 @@ export function Stream({ })} ); - }, [stream.length, isPaused]); + }, [stream.length, isPaused, endOfStream]); useEffect(() => { const el = ref.current;