diff --git a/packages/frontend-embed/src/components/EmNote.vue b/packages/frontend-embed/src/components/EmNote.vue index 7c32b152ab..9b37eab6f1 100644 --- a/packages/frontend-embed/src/components/EmNote.vue +++ b/packages/frontend-embed/src/components/EmNote.vue @@ -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'; diff --git a/packages/frontend-embed/src/components/EmNoteSub.vue b/packages/frontend-embed/src/components/EmNoteSub.vue index cb1e2ccd58..f0ceaf88c3 100644 --- a/packages/frontend-embed/src/components/EmNoteSub.vue +++ b/packages/frontend-embed/src/components/EmNoteSub.vue @@ -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; diff --git a/packages/frontend-embed/src/components/EmPagination.vue b/packages/frontend-embed/src/components/EmPagination.vue index 35224ab01b..804784162d 100644 --- a/packages/frontend-embed/src/components/EmPagination.vue +++ b/packages/frontend-embed/src/components/EmPagination.vue @@ -136,9 +136,6 @@ const preventAppearFetchMoreTimer = ref(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); diff --git a/packages/frontend-embed/src/components/EmPoll.vue b/packages/frontend-embed/src/components/EmPoll.vue index 18ce613454..c510dbc150 100644 --- a/packages/frontend-embed/src/components/EmPoll.vue +++ b/packages/frontend-embed/src/components/EmPoll.vue @@ -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;