From 5a9546ec0a643c44c8c0916acdf83668ae65ff4d Mon Sep 17 00:00:00 2001 From: cuithon <65674308+cuithon@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:58:20 +0800 Subject: [PATCH] chore: fix typo (#2681) Signed-off-by: cuithon --- components/publish/PublishWidget.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue index 8a53af7b..00bfde50 100644 --- a/components/publish/PublishWidget.vue +++ b/components/publish/PublishWidget.vue @@ -138,7 +138,7 @@ const characterCount = computed(() => { length -= fullMatch.length - (before + username).length - 1 // - 1 for the @ if (draft.value.mentions) { - // + 1 is needed as mentions always need a space seperator at the end + // + 1 is needed as mentions always need a space separator at the end length += draft.value.mentions.map((mention) => { const [handle] = mention.split('@') return `@${handle}`