mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 21:39:49 +00:00
ensure unique key for skipped message map
This commit is contained in:
@@ -247,17 +247,17 @@ const VideoPlayer = ({
|
||||
</h4>
|
||||
)}
|
||||
|
||||
{/* {Object.values(skippedSegments).map(({ from, to }) => {
|
||||
{Object.values(skippedSegments).map(({ from, to }, index) => {
|
||||
return (
|
||||
<>
|
||||
<div key={`${from}-${to}-${index}`}>
|
||||
{from !== 0 && to !== 0 && (
|
||||
<h3>
|
||||
Skipped sponsor segment from {formatTime(from)} to {formatTime(to)}.
|
||||
</h3>
|
||||
)}
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
})} */}
|
||||
})}
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user