tweak fetchCustomEmojis timing

This commit is contained in:
syuilo 2023-01-21 20:53:11 +09:00
parent 3e112da486
commit 307a882649
2 changed files with 5 additions and 2 deletions

View file

@ -9,8 +9,6 @@ export let customEmojis: {
url: string;
}[] = storageCache ? JSON.parse(storageCache) : [];
fetchCustomEmojis();
export async function fetchCustomEmojis() {
const now = Date.now();
const lastFetchedAt = miLocalStorage.getItem('lastEmojisFetchedAt');