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