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[];