Skip to content

Commit

Permalink
chore: add aspect-square to GuildLogo
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Jul 16, 2024
1 parent 4d1e770 commit 3565f53
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/v2/components/GuildLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

import { cn } from "@/lib/utils"
import { useTheme } from "next-themes"
import Image from "next/image"

const IMAGE_QUALITY = 70 as const
Expand All @@ -15,8 +14,6 @@ type Props = {
}

const GuildLogo = ({ imageUrl, className }: Props) => {
const { resolvedTheme } = useTheme()

return (
<div
className={cn(
Expand All @@ -34,7 +31,7 @@ const GuildLogo = ({ imageUrl, className }: Props) => {
alt="Guild logo"
width={48}
height={48}
className="object-cover"
className="aspect-square object-cover"
/>
))}
</div>
Expand Down

0 comments on commit 3565f53

Please sign in to comment.