Skip to content

Commit

Permalink
fix: show thumbnail in gallery form cover image button (#342)
Browse files Browse the repository at this point in the history
  • Loading branch information
goga-m authored Nov 2, 2023
1 parent e601a7f commit 1d20136
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ export const GalleryActionToolbar = ({
iconPosition="right"
>
<Img
wrapperClassName="mr-2 aspect-[3/2] w-12 "
src={galleryCoverUrl}
className="mr-2 aspect-[3/2] w-12 rounded-md object-cover"
className="rounded-md"
/>
</Button>
)}
Expand Down
4 changes: 0 additions & 4 deletions resources/types/generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,6 @@ declare namespace App.Data.Gallery {
isOwner: boolean;
hasLiked: boolean;
};
export type GalleryLikeData = {
likes: number;
hasLiked: boolean;
};
export type GalleryNftData = {
id: number;
name: string | null;
Expand Down

0 comments on commit 1d20136

Please sign in to comment.