fix: wrong profile showing on hover sometimes (#1913) (#1964)

This commit is contained in:
Tuur Martens 2023-04-10 20:12:27 +02:00 committed by GitHub
parent 2dc7ad27bf
commit 79538a65ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ const props = defineProps<{
disabled?: boolean disabled?: boolean
}>() }>()
const account = props.account || (props.handle ? useAccountByHandle(props.handle!) : undefined) const account = computed(() => props.account || (props.handle ? useAccountByHandle(props.handle!) : undefined))
const userSettings = useUserSettings() const userSettings = useUserSettings()
defineOptions({ defineOptions({