From a9a8d1fd4b62085a162e631490f6b288f27324e0 Mon Sep 17 00:00:00 2001 From: claustra01 Date: Wed, 15 Jan 2025 23:22:55 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20maxCwTextLength=E3=82=92=E3=81=9F?= =?UTF-8?q?=E3=81=A0=E3=81=AEconst=E3=81=AB=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/components/MkPostForm.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index c3b4e8d563..b0a04e213d 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -248,9 +248,7 @@ const cwTextLength = computed((): number => { return cw.value?.length ?? 0; }); -const maxCwTextLength = computed((): number => { - return 100; -}); +const maxCwTextLength = 100; const canPost = computed((): boolean => { return !props.mock && !posting.value && !posted.value &&