[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
1 changed files with 2 additions and 2 deletions

View File

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