tweak fetchCustomEmojis timing
This commit is contained in:
parent
3e112da486
commit
307a882649
2 changed files with 5 additions and 2 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue