From c5753f7d659ee7d7e6caf408a0bc46a940c72343 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Wed, 4 Oct 2023 03:47:47 +0200 Subject: [PATCH] fix: use heart emoji --- packages/frontend/src/components/MkMfmWindow.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/frontend/src/components/MkMfmWindow.vue b/packages/frontend/src/components/MkMfmWindow.vue index eb0ccc560..5ddfd3df0 100644 --- a/packages/frontend/src/components/MkMfmWindow.vue +++ b/packages/frontend/src/components/MkMfmWindow.vue @@ -365,7 +365,6 @@ import { ref } from 'vue'; import MkWindow from '@/components/MkWindow.vue'; import MkTextarea from '@/components/MkTextarea.vue'; import { i18n } from "@/i18n.js"; -import { instance } from "@/instance.js"; const emit = defineEmits<{ (ev: 'closed'): void; @@ -375,7 +374,7 @@ 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( - instance.emojis.length ? `:${instance.emojis[0].name}:` : ":emojiname:", + `:heart:` : ":emojiname:", ); const preview_bold = ref(`**${i18n.ts._mfm.dummy}**`); const preview_small = ref(