mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-25 12:48:53 +01:00
fix: Set default width and height for URLIcon component in case container style results in NaN
This commit is contained in:
parent
8fd0fcbd3b
commit
20ecdb4881
1 changed files with 2 additions and 2 deletions
|
|
@ -55,8 +55,8 @@ export const URLIcon = memo(
|
|||
onError={handleImageError}
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
width={Number(containerStyle.width)}
|
||||
height={Number(containerStyle.height)}
|
||||
width={Number(containerStyle.width) || 20}
|
||||
height={Number(containerStyle.height) || 20}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue