diff --git a/web/src/components/player/PreviewPlayer.tsx b/web/src/components/player/PreviewPlayer.tsx index a299cf9ec..212779f3a 100644 --- a/web/src/components/player/PreviewPlayer.tsx +++ b/web/src/components/player/PreviewPlayer.tsx @@ -352,7 +352,8 @@ function PreviewFramesPlayer({ } return previewFrames.map((frame) => - parseFloat(frame.split("-")[1].slice(undefined, -5)), + // @ts-expect-error we know this item will exist + parseFloat(frame.split("-").slice(undefined, -5)), ); }, [previewFrames]); diff --git a/web/src/components/player/PreviewThumbnailPlayer.tsx b/web/src/components/player/PreviewThumbnailPlayer.tsx index 5e9a5c651..c57e1041c 100644 --- a/web/src/components/player/PreviewThumbnailPlayer.tsx +++ b/web/src/components/player/PreviewThumbnailPlayer.tsx @@ -171,7 +171,7 @@ export default function PreviewThumbnailPlayer({ {...swipeHandlers} > {playingBack && ( -
+
+