forked from mirror/misskey
refactor(client): use top-level await
This commit is contained in:
parent
4610d8dfe3
commit
9db2f60053
@ -47,7 +47,6 @@ import { miLocalStorage } from './local-storage';
|
||||
import { claimAchievement, claimedAchievements } from './scripts/achievements';
|
||||
import { fetchCustomEmojis } from './custom-emojis';
|
||||
|
||||
(async () => {
|
||||
console.info(`Misskey v${version}`);
|
||||
|
||||
if (_DEV_) {
|
||||
@ -541,4 +540,3 @@ import { fetchCustomEmojis } from './custom-emojis';
|
||||
|
||||
// shortcut
|
||||
document.addEventListener('keydown', makeHotkey(hotkeys));
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user