This commit is contained in:
Greg Kennedy 2024-10-03 17:07:16 +00:00 committed by GitHub
commit 4a4f7c0d51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,12 +59,7 @@ const Comment = ({ comment, domain, statusIds, isRemote, isSubmitting, selectedD
loadedRef.current = true;
// First, pre-select known domains
availableDomains.forEach((domain) => {
onToggleDomain(domain, true);
});
// Then, fetch missing replied-to accounts
// Fetch missing replied-to accounts
const unknownAccounts = OrderedSet(accountIds.filter(accountId => accountId && !accountsMap.has(accountId)));
unknownAccounts.forEach((accountId) => {
dispatch(fetchAccount(accountId));