mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fix notification account info not shown
This commit is contained in:
@ -19,7 +19,7 @@ export interface Props {
|
||||
const TimelineActioned: React.FC<Props> = ({ action, isNotification, ...rest }) => {
|
||||
const { status, reblogStatus } = useContext(StatusContext)
|
||||
const account = rest.account || (reblogStatus ? reblogStatus.account : status?.account)
|
||||
if (!status || !account) return null
|
||||
if (!account) return null
|
||||
|
||||
const { t } = useTranslation('componentTimeline')
|
||||
const { colors } = useTheme()
|
||||
|
Reference in New Issue
Block a user