Fix emoji picker not rendering when no custom emojis (#38885)
This commit is contained in:
parent
696aaa616b
commit
00c2089e81
@ -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