Skip to content

Commit

Permalink
feat: update transcript logic for improved playback experience #2503
Browse files Browse the repository at this point in the history
  • Loading branch information
KVV94 committed Dec 5, 2024
1 parent c3e2dd3 commit d8b44c2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const Transcript = () => {
return () => clearInterval(interval)
}, [playerRef, setCurrentTime])

return currentTime ? (
return (
<Wrapper>
<Flex className="heading">Transcript</Flex>
{clips.map((clip) => {
Expand All @@ -67,7 +67,7 @@ export const Transcript = () => {
return null
})}
</Wrapper>
) : null
)
}

const Wrapper = styled(Flex)`
Expand Down

0 comments on commit d8b44c2

Please sign in to comment.