refactor(frontend): use ESM
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
|
||||
import { shallowRef, computed, markRaw, watch } from 'vue';
|
||||
import * as Misskey from 'misskey-js';
|
||||
import { api, apiGet } from './os';
|
||||
import { useStream } from '@/stream';
|
||||
import { get, set } from '@/scripts/idb-proxy';
|
||||
import { api, apiGet } from '@/os.js';
|
||||
import { useStream } from '@/stream.js';
|
||||
import { get, set } from '@/scripts/idb-proxy.js';
|
||||
|
||||
const storageCache = await get('emojis');
|
||||
export const customEmojis = shallowRef<Misskey.entities.CustomEmoji[]>(Array.isArray(storageCache) ? storageCache : []);
|
||||
|
Reference in New Issue
Block a user