mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Simplify update toot logic
This commit is contained in:
@ -87,9 +87,9 @@ const TimelineDefault: React.FC<Props> = ({
|
||||
const main = () => (
|
||||
<>
|
||||
{item.reblog ? (
|
||||
<TimelineActioned action='reblog' />
|
||||
<TimelineActioned action='reblog' rootStatus={item} />
|
||||
) : item._pinned ? (
|
||||
<TimelineActioned action='pinned' />
|
||||
<TimelineActioned action='pinned' rootStatus={item} />
|
||||
) : null}
|
||||
|
||||
<View
|
||||
@ -167,7 +167,6 @@ const TimelineDefault: React.FC<Props> = ({
|
||||
queryKey,
|
||||
rootQueryKey,
|
||||
status,
|
||||
reblogStatus: item.reblog ? item : undefined,
|
||||
ownAccount,
|
||||
spoilerHidden,
|
||||
rawContent,
|
||||
|
Reference in New Issue
Block a user