refactor
This commit is contained in:
parent
d69f7baaf5
commit
94d4f8271e
15 changed files with 34 additions and 29 deletions
|
|
@ -29,7 +29,7 @@ import { stream } from '@/stream';
|
|||
import * as sound from '@/scripts/sound';
|
||||
import { $i, refreshAccount, login, updateAccount, signout } from '@/account';
|
||||
import { defaultStore, ColdDeviceStorage } from '@/store';
|
||||
import { fetchInstance, instance } from '@/instance';
|
||||
import { instance, instanceMetaReady } from '@/instance';
|
||||
import { makeHotkey } from '@/scripts/hotkey';
|
||||
import { search } from '@/scripts/search';
|
||||
import { deviceKind } from '@/scripts/device-kind';
|
||||
|
|
@ -159,7 +159,7 @@ if ($i && $i.token) {
|
|||
}
|
||||
//#endregion
|
||||
|
||||
fetchInstance().then(() => {
|
||||
instanceMetaReady.then(() => {
|
||||
localStorage.setItem('v', instance.version);
|
||||
|
||||
// Init service worker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue