refactor: upgrade masto 5 (#867)
This commit is contained in:
parent
39034c5777
commit
5c8f75b9b7
108 changed files with 438 additions and 445 deletions
|
@ -20,7 +20,7 @@ const { data: status, pending, refresh: refreshStatus } = useAsyncData(
|
|||
const masto = useMasto()
|
||||
const { data: context, pending: pendingContext, refresh: refreshContext } = useAsyncData(
|
||||
`context:${id}`,
|
||||
async () => masto.statuses.fetchContext(id),
|
||||
async () => masto.v1.statuses.fetchContext(id),
|
||||
{ watch: [isMastoInitialised], immediate: isMastoInitialised.value },
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue