1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
This commit is contained in:
xmflsct
2023-01-09 10:11:44 +01:00
parent 215534d0c8
commit 1b2d9d144f
4 changed files with 14 additions and 5 deletions

View File

@ -30,7 +30,7 @@ const TimelineCard: React.FC = () => {
const statusQuery = useStatusQuery({
status: match?.status ? { ...match.status, uri: status.card.url } : undefined,
options: { enabled: false }
options: { enabled: false, retry: 1 }
})
useEffect(() => {
if (match?.status) {
@ -47,7 +47,7 @@ const TimelineCard: React.FC = () => {
const accountQuery = useAccountQuery({
account: match?.account ? { ...match?.account, url: status.card.url } : undefined,
options: { enabled: false }
options: { enabled: false, retry: 1 }
})
useEffect(() => {
if (match?.account) {