diff --git a/pages/rewind/index.tsx b/pages/rewind/index.tsx index cd3c689..687cb3f 100644 --- a/pages/rewind/index.tsx +++ b/pages/rewind/index.tsx @@ -34,7 +34,7 @@ function Image({ src }: { src: string }) { Current frame ); } @@ -181,8 +181,6 @@ export default function RewindPage() { const newIndex = Math.min(Math.max(currentIndex - delta, 0), timeline.length - 1); const newFrameId = timeline[newIndex].id; - console.log(currentFrameId, lastAvaliableFrameId); - if (newFrameId !== currentFrameId) { setCurrentFrameId(newFrameId); // Preload adjacent images @@ -212,9 +210,19 @@ export default function RewindPage() { return (
+ background + + {/* Current image */} + + {/* Time capsule */}