@@ -63,13 +63,6 @@ SPDX-License-Identifier: AGPL-3.0-only
:enableEmojiMenu="!true"
:enableEmojiMenuReaction="true"
/>
-
-
-
- {{ i18n.tsx.translatedFrom({ x: translation.sourceLang }) }}:
-
-
-
@@ -125,7 +118,6 @@ import EmA from '@/components/EmA.vue';
import EmAvatar from '@/components/EmAvatar.vue';
import EmUserName from '@/components/EmUserName.vue';
import EmTime from '@/components/EmTime.vue';
-import EmLoading from '@/components/EmLoading.vue';
import { userPage } from '@/utils.js';
import { i18n } from '@/i18n.js';
import { shouldCollapsed } from '@/to-be-shared/collapsed.js';
@@ -146,28 +138,20 @@ const emit = defineEmits<{
(ev: 'removeReaction', emoji: string): void;
}>();
-const inTimeline = inject('inTimeline', false);
const inChannel = inject('inChannel', null);
-const currentClip = inject[ | null>('currentClip', null);
const note = ref((props.note));
const isRenote = Misskey.note.isPureRenote(note.value);
const rootEl = shallowRef();
-const menuButton = shallowRef();
-const renoteButton = shallowRef();
const renoteTime = shallowRef();
-const reactButton = shallowRef();
-const clipButton = shallowRef();
const appearNote = computed(() => getAppearNote(note.value));
const showContent = ref(false);
const parsed = computed(() => appearNote.value.text ? mfm.parse(appearNote.value.text) : null);
const isLong = shouldCollapsed(appearNote.value, []);
const collapsed = ref(appearNote.value.cw == null && isLong);
const isDeleted = ref(false);
-const translation = ref(null);
-const translating = ref(false);
]