From d8b44c2d6d4ff16523bb3bdc77b96935f61a7d3e Mon Sep 17 00:00:00 2001 From: KVV94 Date: Fri, 6 Dec 2024 00:29:14 +0300 Subject: [PATCH] feat: update transcript logic for improved playback experience #2503 --- .../mindset/components/Sidebar/Transcript/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/mindset/components/Sidebar/Transcript/index.tsx b/src/components/mindset/components/Sidebar/Transcript/index.tsx index c2245e2dd..a3df138f5 100644 --- a/src/components/mindset/components/Sidebar/Transcript/index.tsx +++ b/src/components/mindset/components/Sidebar/Transcript/index.tsx @@ -45,7 +45,7 @@ export const Transcript = () => { return () => clearInterval(interval) }, [playerRef, setCurrentTime]) - return currentTime ? ( + return ( Transcript {clips.map((clip) => { @@ -67,7 +67,7 @@ export const Transcript = () => { return null })} - ) : null + ) } const Wrapper = styled(Flex)`