fix: use heart emoji

This commit is contained in:
Mar0xy 2023-10-04 03:47:47 +02:00
parent a8d2103980
commit c5753f7d65
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -365,7 +365,6 @@ import { ref } from 'vue';
import MkWindow from '@/components/MkWindow.vue'; import MkWindow from '@/components/MkWindow.vue';
import MkTextarea from '@/components/MkTextarea.vue'; import MkTextarea from '@/components/MkTextarea.vue';
import { i18n } from "@/i18n.js"; import { i18n } from "@/i18n.js";
import { instance } from "@/instance.js";
const emit = defineEmits<{ const emit = defineEmits<{
(ev: 'closed'): void; (ev: 'closed'): void;
@ -375,7 +374,7 @@ const preview_mention = ref("@example");
const preview_hashtag = ref("#test"); const preview_hashtag = ref("#test");
const preview_link = ref(`[${i18n.ts._mfm.dummy}](https://joinsharkey.org)`); const preview_link = ref(`[${i18n.ts._mfm.dummy}](https://joinsharkey.org)`);
const preview_emoji = ref( const preview_emoji = ref(
instance.emojis.length ? `:${instance.emojis[0].name}:` : ":emojiname:", `:heart:` : ":emojiname:",
); );
const preview_bold = ref(`**${i18n.ts._mfm.dummy}**`); const preview_bold = ref(`**${i18n.ts._mfm.dummy}**`);
const preview_small = ref( const preview_small = ref(