1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-23 10:12:38 +01:00
ntfy/web/src/app/emojisMapped.js
2023-06-07 20:38:21 +02:00

4 lines
188 B
JavaScript

import { rawEmojis } from "./emojis";
// Format emojis (see emoji.js)
export default Object.fromEntries(rawEmojis.flatMap((emoji) => emoji.aliases.map((alias) => [alias, emoji.emoji])));