Keep trying to load emojis if data isn't available yet (#38892)
This commit is contained in:
3 files changed
+12
-1
No files matched your search
@@ -20,7 +20,7 @@ export function useCustomEmojis() {
|
||||
async function loadEmojisIntoCache() {
|
||||
const { loadAllCustomEmoji } = await import('../features/emoji/database');
|
||||
const emojisRaw = await loadAllCustomEmoji();
|
||||
if (emojisRaw.length === 0) {
|
||||
if (emojisRaw === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user