mirror of
https://github.com/tooot-app/app
synced 2025-03-12 01:20:06 +01:00
Reuse account info when navigating
This commit is contained in:
parent
83cd5d4eb0
commit
062e6825b5
@ -35,6 +35,9 @@ const TabSharedAccount: React.FC<TabSharedStackScreenProps<'Tab-Shared-Account'>
|
||||
account,
|
||||
_local: true,
|
||||
options: {
|
||||
placeholderData: (account._remote
|
||||
? { ...account, id: undefined }
|
||||
: account) as Mastodon.Account,
|
||||
onSuccess: a => {
|
||||
if (account._remote) {
|
||||
setQueryKey([
|
||||
|
Loading…
x
Reference in New Issue
Block a user