From 41a6ed0de01f5ddb711e874e6d9cf0f97ab8cb2a Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 26 Jan 2023 11:33:31 +0900 Subject: [PATCH] lint --- packages/frontend/src/custom-emojis.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/frontend/src/custom-emojis.ts b/packages/frontend/src/custom-emojis.ts index 4dd2e0909f..0ba7cab5e2 100644 --- a/packages/frontend/src/custom-emojis.ts +++ b/packages/frontend/src/custom-emojis.ts @@ -1,7 +1,7 @@ -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 => {