chore: update dependencies (#681)
This commit is contained in:
committed by
GitHub
parent
d0ecae310c
commit
f43911f24f
@ -137,7 +137,7 @@ const MediaLibraryCardGrid: FC<MediaLibraryCardGridProps> = props => {
|
||||
return (
|
||||
<div className="relative w-full h-full">
|
||||
<AutoSizer onResize={handleResize}>
|
||||
{({ height, width }) => {
|
||||
{({ height = 0, width = 0 }) => {
|
||||
const columnWidthWithGutter = MEDIA_CARD_WIDTH + MEDIA_CARD_MARGIN;
|
||||
const rowHeightWithGutter = MEDIA_CARD_HEIGHT + MEDIA_CARD_MARGIN;
|
||||
const columnCount = Math.floor(
|
||||
|
Reference in New Issue
Block a user