fix logo rendering (#3542)

This commit is contained in:
pablonyx 2024-12-22 15:00:33 -08:00 committed by GitHub
parent 09b879ee73
commit 18d7262608
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,12 +103,14 @@ export const LogoIcon = ({
className = defaultTailwindCSS, className = defaultTailwindCSS,
src, src,
}: LogoIconProps) => ( }: LogoIconProps) => (
<div <Image
style={{ width: `${size}px`, height: `${size}px` }} style={{ width: `${size}px`, height: `${size}px` }}
className={`w-[${size}px] h-[${size}px] ` + className} className={`w-[${size}px] h-[${size}px] ` + className}
> src={src}
<Image src={src} alt="Logo" width="96" height="96" /> alt="Logo"
</div> width="96"
height="96"
/>
); );
export const AssistantsIconSkeleton = ({ export const AssistantsIconSkeleton = ({