1
0
mirror of https://github.com/tooot-app/app synced 2024-12-22 15:49:42 +01:00

Fix account page toot not update

This commit is contained in:
xmflsct 2023-03-19 23:26:30 +01:00
parent 521d8f75fc
commit b308932e74

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 })