fix: condition messup

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

View file

@ -373,9 +373,7 @@ const emit = defineEmits<{
const preview_mention = ref("@example"); 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(`:heart:`);
`: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(
`<small>${i18n.ts._mfm.dummy}</small> $[small ${i18n.ts._mfm.dummy}]`, `<small>${i18n.ts._mfm.dummy}</small> $[small ${i18n.ts._mfm.dummy}]`,