forked from Mirrors/elk
refactor: update no reactivity transform changes (#2639)
This commit is contained in:
parent
95e466146d
commit
70c7e93919
3 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ const hideAllMedia = computed(
|
|||
},
|
||||
)
|
||||
const embeddedMediaPreference = usePreferences('experimentalEmbeddedMedia')
|
||||
const allowEmbeddedMedia = computed(() => status.card?.html && embeddedMediaPreference)
|
||||
const allowEmbeddedMedia = computed(() => status.card?.html && embeddedMediaPreference.value)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
|
@ -55,7 +55,7 @@ export function usePublish(options: {
|
|||
)
|
||||
})
|
||||
|
||||
watch(() => draft, () => {
|
||||
watch(draft, () => {
|
||||
if (failedMessages.value.length > 0)
|
||||
failedMessages.value.length = 0
|
||||
}, { deep: true })
|
||||
|
|
|
@ -9,7 +9,7 @@ const accountName = computed(() => toShortHandle(params.account as string))
|
|||
const { t } = useI18n()
|
||||
|
||||
const { data: account, pending, refresh } = await useAsyncData(() => fetchAccountByHandle(accountName.value).catch(() => null), { immediate: import.meta.client, default: () => shallowRef() })
|
||||
const relationship = computed(() => account ? useRelationship(account.value).value : undefined)
|
||||
const relationship = computed(() => account.value ? useRelationship(account.value).value : undefined)
|
||||
|
||||
const userSettings = useUserSettings()
|
||||
|
||||
|
|
Loading…
Reference in a new issue