mirror of
https://github.com/mastodon/mastodon.git
synced 2026-08-26 03:45:50 -05:00
Fix emoji picker not rendering when no custom emojis (#38885)
This commit is contained in:
@@ -29,7 +29,8 @@ export async function fetchCustomEmojiData() {
|
||||
const { loadAllCustomEmoji } = await import('./database');
|
||||
const emojisRaw = await loadAllCustomEmoji();
|
||||
if (emojisRaw.length === 0) {
|
||||
return [];
|
||||
customEmojis = [];
|
||||
return customEmojis;
|
||||
}
|
||||
|
||||
const categories = new Set(['custom']);
|
||||
|
||||
Reference in New Issue
Block a user