put the logic where it belongs to

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-09-13 23:15:37 +02:00
parent b3ac044546
commit affbe86081
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ const Emoji: React.FC<IEmoji> = (props): JSX.Element | null => {
<StillImage
alt={alt || emoji}
src={src}
isGif
isGif={!src.endsWith('.png')}
noGroup={noGroup}
letterboxed
{...rest}