1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Actions working for #638

This commit is contained in:
xmflsct
2023-01-01 17:20:35 +01:00
parent ced71d6611
commit 56d1090ca9
5 changed files with 45 additions and 24 deletions

View File

@ -113,6 +113,7 @@ const TimelineActions: React.FC = () => {
rootQueryKey,
id: status.id,
isReblog: !!reblogStatus,
fetchRemoteURI: status._remote ? status.uri : undefined,
payload: {
property: 'reblogged',
currentValue: status.reblogged,
@ -129,6 +130,7 @@ const TimelineActions: React.FC = () => {
rootQueryKey,
id: status.id,
isReblog: !!reblogStatus,
fetchRemoteURI: status._remote ? status.uri : undefined,
payload: {
property: 'reblogged',
currentValue: status.reblogged,
@ -148,6 +150,7 @@ const TimelineActions: React.FC = () => {
rootQueryKey,
id: status.id,
isReblog: !!reblogStatus,
fetchRemoteURI: status._remote ? status.uri : undefined,
payload: {
property: 'reblogged',
currentValue: status.reblogged,
@ -165,6 +168,7 @@ const TimelineActions: React.FC = () => {
rootQueryKey,
id: status.id,
isReblog: !!reblogStatus,
fetchRemoteURI: status._remote ? status.uri : undefined,
payload: {
property: 'favourited',
currentValue: status.favourited,
@ -180,6 +184,7 @@ const TimelineActions: React.FC = () => {
rootQueryKey,
id: status.id,
isReblog: !!reblogStatus,
fetchRemoteURI: status._remote ? status.uri : undefined,
payload: {
property: 'bookmarked',
currentValue: status.bookmarked,