[chore] Fix new emoji preview title/alt text (#1354)

* fix new emoji preview title/alt text

* empty commit to start Drone pr build
This commit is contained in:
f0x52 2023-01-18 15:16:29 +01:00 committed by GitHub
parent 9b139b6320
commit 13e3aaaed1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,8 +73,8 @@ module.exports = function NewEmojiForm() {
emojiOrShortcode = <img emojiOrShortcode = <img
className="emoji" className="emoji"
src={image.previewValue} src={image.previewValue}
title={`:${shortcode}:`} title={`:${shortcode.value}:`}
alt={shortcode} alt={shortcode.value}
/>; />;
} }