Skip to content

Commit

Permalink
change list item in library to use not the unsharp thumb (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikStreek authored Dec 29, 2023
1 parent bb68d59 commit 57d669a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PictogramCollection/ListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const ListItem: React.FC<Props> = React.memo(({ id, item, deleteItem, shouldRend
} disablePadding>
<ListItemButton onClick={() => navigate(`/pictogram/${i18n.language}/${item.id}/${item.version}`)}>
<ListItemIcon>
<Avatar src={item.thumbnail || url.href} sx={{ borderRadius: 0 }}></Avatar>
<Avatar src={url.href} sx={{ borderRadius: 0 }}></Avatar>
{shouldRender && <Box sx={{ position: 'absolute', top: -9999, left: -9999 }}>
<Pictogram {...{ url: url.href, stageRef, onLoaded: onLoadedPictogram, ...item.state.customizations }} />
</Box>}
Expand Down

0 comments on commit 57d669a

Please sign in to comment.