From 5c097193511fb0b9b3c19c1c1d562f4040bda2f1 Mon Sep 17 00:00:00 2001 From: fly_mc Date: Sat, 16 Nov 2024 16:11:59 +0800 Subject: [PATCH] tweak MkNote --- packages/frontend/src/components/MkNote.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 5fd14a1ff..6c45eb671 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -297,7 +297,6 @@ const muted = ref(checkMute(appearNote.value, $i?.mutedWords)); const hardMuted = ref(props.withHardMute && checkMute(appearNote.value, $i?.hardMutedWords, true)); const translation = ref(null); const translating = ref(false); -const showTicker = (defaultStore.state.instanceTicker === 'always') || (defaultStore.state.instanceTicker === 'remote' && appearNote.value.user.instance); const canRenote = computed(() => ['public', 'home'].includes(appearNote.value.visibility) || (appearNote.value.visibility === 'followers' && appearNote.value.userId === $i?.id)); const renoteCollapsed = ref( defaultStore.state.collapseRenotes && isRenote && ( @@ -310,7 +309,6 @@ const defaultLike = computed(() => defaultStore.state.like ?? '❤️'); const inReplyToCollapsed = ref(defaultStore.state.collapseNotesRepliedTo); const disableReactionsViewer = ref(defaultStore.reactiveState.disableReactionsViewer); -const collapsedUnexpectedLangs = ref(defaultStore.reactiveState.collapsedUnexpectedLangs); const pleaseLoginContext = computed(() => ({ type: 'lookup',