This commit is contained in:
syuilo
2024-08-29 14:19:00 +09:00
parent 79d56e0b32
commit b4b8aa8ab2
10 changed files with 26 additions and 28 deletions

View File

@@ -60,7 +60,7 @@ import { url, instanceName } from '@/config.js';
import { defaultEmbedParams } from '@/embed-page.js';
const props = defineProps<{
username: string;
userId: string;
}>();
const embedParams = inject<ParsedEmbedParams>('embedParams', defaultEmbedParams);
@@ -77,7 +77,7 @@ const loading = ref(true);
const notesEl = shallowRef<InstanceType<typeof EmNotes> | null>(null);
misskeyApi('users/show', {
username: props.username,
userId: props.userId,
}).then(res => {
user.value = res;
loading.value = false;