This commit is contained in:
syuilo 2024-08-24 17:27:53 +09:00
parent 5603f77ffe
commit 505874a971
4 changed files with 3 additions and 9 deletions

View file

@ -122,14 +122,12 @@ import EmNoteSub from '@/components/EmNoteSub.vue';
import EmNoteHeader from '@/components/EmNoteHeader.vue';
import EmNoteSimple from '@/components/EmNoteSimple.vue';
import EmReactionsViewer from '@/components/EmReactionsViewer.vue';
import EmReactionsViewerDetails from '@/components/EmReactionsViewer.details.vue';
import EmMediaList from '@/components/EmMediaList.vue';
import EmCwButton from '@/components/EmCwButton.vue';
import EmPoll from '@/components/EmPoll.vue';
import EmInstanceTicker from '@/components/EmInstanceTicker.vue';
import { pleaseLogin, type OpenOnRemoteOptions } from '@/scripts/please-login.js';
import { userPage } from '@/filters/user.js';
import * as os from '@/os.js';
import { userPage } from '@/utils.js';
import { extractUrlFromMfm } from '@/scripts/extract-url-from-mfm.js';
import { i18n } from '@/i18n.js';
import { deepClone } from '@/scripts/clone.js';

View file

@ -36,10 +36,9 @@ import * as Misskey from 'misskey-js';
import EmNoteHeader from '@/components/EmNoteHeader.vue';
import EmSubNoteContent from '@/components/EmSubNoteContent.vue';
import EmCwButton from '@/components/EmCwButton.vue';
import { notePage } from '@/filters/note.js';
import { notePage } from '@/utils.js';
import { misskeyApi } from '@/scripts/misskey-api.js';
import { i18n } from '@/i18n.js';
import { userPage } from '@/filters/user.js';
const props = withDefaults(defineProps<{
note: Misskey.entities.Note;

View file

@ -136,9 +136,6 @@ const preventAppearFetchMoreTimer = ref<number | null>(null);
const isBackTop = ref(false);
const empty = computed(() => items.value.size === 0);
const error = ref(false);
const {
enableInfiniteScroll,
} = defaultStore.reactiveState;
const contentEl = computed(() => props.pagination.pageEl ?? rootEl.value);
const scrollableElement = computed(() => contentEl.value ? getScrollContainer(contentEl.value) : document.body);

View file

@ -33,7 +33,7 @@ import type { OpenOnRemoteOptions } from '@/scripts/please-login.js';
import { sum } from '@/scripts/array.js';
import { i18n } from '@/i18n.js';
import { host } from '@/config.js';
import { useInterval } from '@/scripts/use-interval.js';
import { useInterval } from '@/to-be-shared/use-interval.js';
const props = defineProps<{
noteId: string;