feat: basic account header (#1)
This commit is contained in:
parent
c7ae7d5a1c
commit
6755ed6f94
2 changed files with 83 additions and 1 deletions
|
@ -4,10 +4,12 @@ const props = defineProps<{
|
|||
}>()
|
||||
|
||||
const params = useRoute().params
|
||||
const masto = await useMasto()
|
||||
const { data: account } = await useAsyncData('account', () => masto.accounts.lookup({ acct: params.user as string }))
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
{{ params }}
|
||||
<AccountHeader :account="account" />
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue