fix: fix vue/no-ref-as-operand
and vue/return-in-computed-property
ESLint errors (#2679)
This commit is contained in:
parent
ed8a1811cc
commit
3b1a66c93c
9 changed files with 14 additions and 10 deletions
|
@ -21,7 +21,7 @@ const { data: status, pending, refresh: refreshStatus } = useAsyncData(
|
|||
)
|
||||
const { client } = useMasto()
|
||||
const { data: context, pending: pendingContext, refresh: refreshContext } = useAsyncData(
|
||||
`context:${id}`,
|
||||
`context:${id.value}`,
|
||||
async () => client.value.v1.statuses.$select(id.value).context.fetch(),
|
||||
{ watch: [isHydrated], immediate: isHydrated.value, lazy: true, default: () => shallowRef() },
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue