refactor: remove unused logic

This commit is contained in:
Ayo 2023-01-21 21:49:08 +01:00
parent b2e43bb11c
commit 255c950dff

View file

@ -71,9 +71,6 @@ const timeago = useTimeAgo(() => status.createdAt, timeAgoOptions)
const filterResult = $computed(() => status.filtered?.length ? status.filtered[0] : null)
const filter = $computed(() => filterResult?.filter)
const filterPhrase = $computed(() => filter?.title)
const isFiltered = $computed(() => filterPhrase && (props.context ? filter?.context.includes(props.context) : false))
const isSelfReply = $computed(() => status.inReplyToAccountId === status.account.id)
const collapseRebloggedBy = $computed(() => rebloggedBy?.id === status.account.id)
const isDM = $computed(() => status.visibility === 'direct')