From 231bd2d3f98ac7511a3e46bc8785f16509162264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=B0=D1=81=D1=83=D0=BB?= Date: Mon, 23 Dec 2024 12:47:09 +0300 Subject: [PATCH] feat: changes mls to sec for transcript clips --- src/components/mindset/components/Sidebar/Transcript/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/mindset/components/Sidebar/Transcript/index.tsx b/src/components/mindset/components/Sidebar/Transcript/index.tsx index 86e8ccba8..1085645d7 100644 --- a/src/components/mindset/components/Sidebar/Transcript/index.tsx +++ b/src/components/mindset/components/Sidebar/Transcript/index.tsx @@ -59,7 +59,7 @@ export const Transcript = ({ name }: Props) => { ? (timestamp as string).split('-').map(Number) // Directly convert to numbers : [0, 0] - if (start <= currentTime * 1000 && currentTime * 1000 < end) { + if (start <= currentTime && currentTime < end) { // Multiply playingTime by 1000 to match millisecond format return (