Skip to content

Commit fb389e6

Browse files
authored
Update ntl-ruyadorno.html
1 parent a12a9bf commit fb389e6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

projects/ntl-ruyadorno.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -610,9 +610,11 @@ <h5>Metadata</h5>
610610

611611
// Create a map for quick lookup
612612
const emojiMap = emojis.reduce((map, emoji) => {
613-
emoji.names.forEach((name) => {
614-
map[name] = emoji.emoji;
615-
});
613+
if (emoji.aliases) {
614+
emoji.aliases.forEach((alias) => {
615+
map[alias] = emoji.emoji;
616+
});
617+
}
616618
return map;
617619
}, {});
618620

0 commit comments

Comments
 (0)