From 27f46d042460a0feaeeb4e04d9bbef35f925e5b5 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Fri, 21 Feb 2020 19:09:57 +0800 Subject: [PATCH] fix rendering bug --- src/SegmentList.jsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/SegmentList.jsx b/src/SegmentList.jsx index 4c06fc9e..8302b321 100644 --- a/src/SegmentList.jsx +++ b/src/SegmentList.jsx @@ -78,6 +78,8 @@ const SegmentList = memo(({ return {index + 1}; } + const timeStr = `${formatTimecode(seg.start)} - ${formatTimecode(seg.end)}`; + return ( -
+
{renderNumber()} - {formatTimecode(seg.start)} - {formatTimecode(seg.end)} + {timeStr}
{seg.name}