Merge pull request #135 from mattn/emoji-alt

alt should be :xxx:
This commit is contained in:
hzrd149 2024-03-08 09:56:59 +00:00 committed by GitHub
commit 7b2638d816
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ export default function EmbeddedEmojiPack({ pack, ...props }: Omit<CardProps, "c
{emojis.length > 0 && (
<Flex mb="2" wrap="wrap" gap="2">
{emojis.map(({ name, url }) => (
<Image key={name + url} src={url} title={name} w={8} h={8} />
<Image key={name + url} src={url} title={name} alt={`:${name}:`} w={8} h={8} />
))}
</Flex>
)}