refactor(client): use top-level await
This commit is contained in:
parent
4610d8dfe3
commit
9db2f60053
1 changed files with 461 additions and 463 deletions
|
@ -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 a new issue