chore: update dependencies (#681)

This commit is contained in:
Daniel Lautzenheiser
2023-04-04 16:03:13 -04:00
committed by GitHub
parent d0ecae310c
commit f43911f24f
18 changed files with 2211 additions and 1814 deletions

View File

@ -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(