Fix account page toot not update

This commit is contained in:
xmflsct 2023-03-19 23:26:30 +01:00
parent 521d8f75fc
commit b308932e74
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ const TabSharedAccount: React.FC<TabSharedStackScreenProps<'Tab-Shared-Account'>
...(account._remote && { remote_id: account.id, remote_domain: account._remote })
}
]
useEffect(() => {
navigation.setParams({ queryKey: queryKeyDefault })
}, [dataUpdatedAt])
const mShare = menuShare({ type: 'account', url: data?.url })
const mAccount = menuAccount({ type: 'account', openChange: true, account: data })