diff --git a/apps/mobile/src/components/GalleryEditor/SortableTokenGrid/SortableTokenGrid.tsx b/apps/mobile/src/components/GalleryEditor/SortableTokenGrid/SortableTokenGrid.tsx index d85ec267f..54c613936 100644 --- a/apps/mobile/src/components/GalleryEditor/SortableTokenGrid/SortableTokenGrid.tsx +++ b/apps/mobile/src/components/GalleryEditor/SortableTokenGrid/SortableTokenGrid.tsx @@ -48,12 +48,14 @@ export function SortableTokenGrid({ return rows * (size + GAP) - GAP - rows * GAP; // Subtract GAP to remove the extra gap after the first and last row }, [items.length, columns, size]); + const style = useMemo(() => { + return { + height: containerHeight, + }; + }, [containerHeight]); + return ( - + {items.map((item) => (