mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 14:05:12 +00:00
lint
This commit is contained in:
parent
7131eb1827
commit
41a6ed0de0
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
import { apiGet } from './os';
|
|
||||||
import { miLocalStorage } from './local-storage';
|
|
||||||
import { shallowRef, computed, markRaw } from 'vue';
|
import { shallowRef, computed, markRaw } from 'vue';
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
|
import { apiGet } from './os';
|
||||||
|
import { miLocalStorage } from './local-storage';
|
||||||
import { stream } from '@/stream';
|
import { stream } from '@/stream';
|
||||||
|
|
||||||
const storageCache = miLocalStorage.getItem('emojis');
|
const storageCache = miLocalStorage.getItem('emojis');
|
||||||
|
@ -13,11 +13,11 @@ export const customEmojiCategories = computed<[ ...string[], null ]>(() => {
|
||||||
categories.add(emoji.category);
|
categories.add(emoji.category);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return markRaw([ ...Array.from(categories), null ]);
|
return markRaw([...Array.from(categories), null]);
|
||||||
});
|
});
|
||||||
|
|
||||||
stream.on('emojiAdded', emojiData => {
|
stream.on('emojiAdded', emojiData => {
|
||||||
customEmojis.value = [ emojiData.emoji, ...customEmojis.value ];
|
customEmojis.value = [emojiData.emoji, ...customEmojis.value];
|
||||||
});
|
});
|
||||||
|
|
||||||
stream.on('emojiUpdated', emojiData => {
|
stream.on('emojiUpdated', emojiData => {
|
||||||
|
|
Loading…
Reference in a new issue