Skip to content

Commit 30dd70b

Browse files
committed
feat: update routing
1 parent 0c48f98 commit 30dd70b

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

pexels-grid/src/app/videos/p/[id]/page.tsx

-8
This file was deleted.

pexels-grid/src/components/GalleryController.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default function GalleryController({
107107
try {
108108
if (!photo?.width || !photo?.height) return; // Skip invalid photos
109109
const aspectRatio = photo.height / photo.width;
110-
const height = columnWidth * aspectRatio;
110+
const height = columnWidth * aspectRatio
111111
if (heights[column]) {
112112
heights[column].height += height;
113113
} else {

0 commit comments

Comments
 (0)