[Glitch] Fix emoji picker not rendering when no custom emojis
Port 00c2089e81ebdd4a94612f1bed7d143fc2772bb3 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
6935fce458
commit
25d1f9254c
@ -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']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user