mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +00:00
fix import errors in MkNotification.vue
This commit is contained in:
parent
344b51f447
commit
811d8a87ef
1 changed files with 3 additions and 3 deletions
|
@ -194,9 +194,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { Ref, ref, watch } from 'vue';
|
import { ref, watch } from 'vue';
|
||||||
import * as Misskey from 'misskey-js';
|
import * as Misskey from 'misskey-js';
|
||||||
import { UserDetailed } from 'misskey-js/autogen/models.js';
|
import type { Ref } from 'vue';
|
||||||
import MkReactionIcon from '@/components/MkReactionIcon.vue';
|
import MkReactionIcon from '@/components/MkReactionIcon.vue';
|
||||||
import MkButton from '@/components/MkButton.vue';
|
import MkButton from '@/components/MkButton.vue';
|
||||||
import { getNoteSummary } from '@/utility/get-note-summary.js';
|
import { getNoteSummary } from '@/utility/get-note-summary.js';
|
||||||
|
@ -234,7 +234,7 @@ const exportEntityName = {
|
||||||
} as const satisfies Record<ExportCompletedNotification['exportedEntity'], string>;
|
} as const satisfies Record<ExportCompletedNotification['exportedEntity'], string>;
|
||||||
|
|
||||||
const followRequestDone = ref(true);
|
const followRequestDone = ref(true);
|
||||||
const userDetailed: Ref<UserDetailed | null> = ref(null);
|
const userDetailed: Ref<Misskey.entities.UserDetailed | null> = ref(null);
|
||||||
|
|
||||||
// watch() is required because computed() doesn't support async.
|
// watch() is required because computed() doesn't support async.
|
||||||
watch(props, async () => {
|
watch(props, async () => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue