From 096b306bc546c937963c09c30507ed3f7f5e93be Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 13 Jul 2022 21:39:16 +0900 Subject: [PATCH] lit fixes --- packages/client/src/components/ui/modal.vue | 2 +- packages/client/src/scripts/emojilist.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/components/ui/modal.vue b/packages/client/src/components/ui/modal.vue index 6de4a0547..b69a87dc8 100644 --- a/packages/client/src/components/ui/modal.vue +++ b/packages/client/src/components/ui/modal.vue @@ -102,7 +102,7 @@ const MARGIN = 16; const align = () => { if (props.src == null) return; if (type === 'drawer') return; - if (type == 'dialog') return; + if (type === 'dialog') return; if (content == null) return; diff --git a/packages/client/src/scripts/emojilist.ts b/packages/client/src/scripts/emojilist.ts index f9afcda12..4ce63dc7e 100644 --- a/packages/client/src/scripts/emojilist.ts +++ b/packages/client/src/scripts/emojilist.ts @@ -10,4 +10,4 @@ export type UnicodeEmojiDef = { // initial converted from https://github.com/muan/emojilib/commit/242fe68be86ed6536843b83f7e32f376468b38fb import _emojilist from '../emojilist.json'; -export const emojilist = _emojilist as UnicodeEmojiDef[]; +export const emojilist = _emojilist as UnicodeEmojiDef[];