From 2e790877f8f9e91d0ea381bf13e7f02cacfd88b4 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Wed, 4 Oct 2023 03:48:22 +0200 Subject: [PATCH] fix: condition messup --- packages/frontend/src/components/MkMfmWindow.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/frontend/src/components/MkMfmWindow.vue b/packages/frontend/src/components/MkMfmWindow.vue index 5ddfd3df0..a55f814db 100644 --- a/packages/frontend/src/components/MkMfmWindow.vue +++ b/packages/frontend/src/components/MkMfmWindow.vue @@ -373,9 +373,7 @@ const emit = defineEmits<{ const preview_mention = ref("@example"); const preview_hashtag = ref("#test"); const preview_link = ref(`[${i18n.ts._mfm.dummy}](https://joinsharkey.org)`); -const preview_emoji = ref( - `:heart:` : ":emojiname:", -); +const preview_emoji = ref(`:heart:`); const preview_bold = ref(`**${i18n.ts._mfm.dummy}**`); const preview_small = ref( `${i18n.ts._mfm.dummy} $[small ${i18n.ts._mfm.dummy}]`,