Skip to content
Snippets Groups Projects
Commit 41a6ed0d authored by syuilo's avatar syuilo
Browse files

lint

parent 7131eb18
No related branches found
No related tags found
No related merge requests found
import { apiGet } from './os';
import { miLocalStorage } from './local-storage';
import { shallowRef, computed, markRaw } from 'vue';
import * as Misskey from 'misskey-js';
import { apiGet } from './os';
import { miLocalStorage } from './local-storage';
import { stream } from '@/stream';
const storageCache = miLocalStorage.getItem('emojis');
......@@ -13,11 +13,11 @@ export const customEmojiCategories = computed<[ ...string[], null ]>(() => {
categories.add(emoji.category);
}
}
return markRaw([ ...Array.from(categories), null ]);
return markRaw([...Array.from(categories), null]);
});
stream.on('emojiAdded', emojiData => {
customEmojis.value = [ emojiData.emoji, ...customEmojis.value ];
customEmojis.value = [emojiData.emoji, ...customEmojis.value];
});
stream.on('emojiUpdated', emojiData => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment