fix(status): optional boolean props

zio/stable
三咲智子 2022-12-29 21:50:11 +08:00
parent bbc029c52f
commit 6cae9505ae
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ import type { Status } from 'masto'
const { status, collapsed = false, simplified = false } = defineProps<{
status: Status
collapsed: boolean
simplified: boolean
collapsed?: boolean
simplified?: boolean
}>()
const isSelf = $computed(() => status.inReplyToAccountId === status.account.id)