nicolium: optimization for account page loading time
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@@ -107,6 +107,7 @@ const importEntities = (
|
||||
notifyManager.batch(() => {
|
||||
if (!isEmpty(accounts)) {
|
||||
for (const account of Object.values(accounts)) {
|
||||
queryClient.setQueryData(queryKeys.accounts.lookup(account.acct.toLowerCase()), account.id);
|
||||
queryClient.setQueryData(queryKeys.accounts.show(account.id), account);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user