Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
fix: use medium thumbnail size
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Jan 25, 2024
1 parent 39e6f9a commit 7754353
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/item/settings/ThumbnailSetting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { FormEventHandler, useEffect, useRef, useState } from 'react';
import { Stack } from '@mui/material';
import Typography from '@mui/material/Typography';

import { DiscriminatedItem, ItemType } from '@graasp/sdk';
import { DiscriminatedItem, ItemType, ThumbnailSize } from '@graasp/sdk';
import { Thumbnail } from '@graasp/ui';

import Uppy from '@uppy/core';
Expand Down Expand Up @@ -34,6 +34,7 @@ const ThumbnailSetting = ({ item }: Props): JSX.Element | null => {
const itemId = item.id;
const { data: thumbnailUrl, isLoading } = hooks.useItemThumbnailUrl({
id: itemId,
size: ThumbnailSize.Medium,
});

useEffect(() => {
Expand Down

0 comments on commit 7754353

Please sign in to comment.