mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 22:48:17 +00:00
fix: correct gutter value type in Masonry component (#205)
This commit is contained in:
@@ -19,7 +19,7 @@ export function MasonryGallery({ photos }: MasonryGalleryProps) {
|
||||
}, [width])
|
||||
return (
|
||||
<div className="scrollbar-none h-screen overflow-auto">
|
||||
<Masonry gutter={4} columnsCount={columnsCount}>
|
||||
<Masonry gutter="4px" columnsCount={columnsCount}>
|
||||
{photos.map((photo) => (
|
||||
<PhotoItem key={photo.id} photo={photo} />
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user