fix import

This commit is contained in:
kakkokari-gtyih 2024-08-22 12:00:45 +09:00
parent e5e1f8b115
commit c875350b1e
3 changed files with 9 additions and 9 deletions

View File

@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</template>
<template #body>
<MkNotes
<EmNotes
ref="notesEl"
:pagination="pagination"
:disableAutoLoad="!embedParams.autoload"
@ -41,7 +41,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<script setup lang="ts">
import { ref, computed, shallowRef, inject, onActivated } from 'vue';
import * as Misskey from 'misskey-js';
import MkNotes from '@/components/MkNotes.vue';
import EmNotes from '@/embed/components/EmNotes.vue';
import XNotFound from '@/pages/not-found.vue';
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
import type { Paging } from '@/components/MkPagination.vue';
@ -83,7 +83,7 @@ const pagination = computed(() => ({
} as Paging));
const loading = ref(true);
const notesEl = shallowRef<InstanceType<typeof MkNotes> | null>(null);
const notesEl = shallowRef<InstanceType<typeof EmNotes> | null>(null);
function top(ev: MouseEvent) {
const target = ev.target as HTMLElement | null;

View File

@ -24,7 +24,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</template>
<template #body>
<MkNotes
<EmNotes
ref="notesEl"
:pagination="pagination"
:disableAutoLoad="!embedParams.autoload"
@ -39,7 +39,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<script setup lang="ts">
import { computed, shallowRef, inject, onActivated } from 'vue';
import MkNotes from '@/components/MkNotes.vue';
import EmNotes from '@/embed/components/EmNotes.vue';
import XNotFound from '@/pages/not-found.vue';
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
import type { Paging } from '@/components/MkPagination.vue';
@ -78,7 +78,7 @@ const pagination = computed(() => ({
},
} as Paging));
const notesEl = shallowRef<InstanceType<typeof MkNotes> | null>(null);
const notesEl = shallowRef<InstanceType<typeof EmNotes> | null>(null);
function top(ev: MouseEvent) {
const target = ev.target as HTMLElement | null;

View File

@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</template>
<template #body>
<MkEmNotes
<EmNotes
ref="notesEl"
:pagination="pagination"
:disableAutoLoad="!embedParams.autoload"
@ -50,7 +50,7 @@ import { ref, computed, shallowRef, inject, onActivated } from 'vue';
import * as Misskey from 'misskey-js';
import type { Paging } from '@/components/MkPagination.vue';
import type { ParsedEmbedParams } from '@/scripts/embed-page.js';
import MkEmNotes from '@/components/MkEmNotes.vue';
import EmNotes from '@/embed/components/EmNotes.vue';
import XNotFound from '@/pages/not-found.vue';
import EmTimelineContainer from '@/embed/components/EmTimelineContainer.vue';
import { misskeyApi } from '@/scripts/misskey-api.js';
@ -90,7 +90,7 @@ const pagination = computed(() => ({
} as Paging));
const loading = ref(true);
const notesEl = shallowRef<InstanceType<typeof MkNotes> | null>(null);
const notesEl = shallowRef<InstanceType<typeof EmNotes> | null>(null);
function top(ev: MouseEvent) {
const target = ev.target as HTMLElement | null;