Fix Contact Modal and improve Debug Log window

This commit is contained in:
Scott Nonnenberg 2022-03-21 11:41:48 -07:00 committed by GitHub
parent 5d051ae16a
commit c369e44d8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 22 additions and 15 deletions

View file

@ -86,11 +86,11 @@ export const ContactModal = ({
);
useEffect(() => {
if (conversation?.id) {
if (contact?.id) {
// Kick off the expensive hydration of the current sharedGroupNames
updateConversationModelSharedGroups(conversation.id);
updateConversationModelSharedGroups(contact.id);
}
}, [conversation?.id, updateConversationModelSharedGroups]);
}, [contact?.id, updateConversationModelSharedGroups]);
let modalNode: ReactNode;
switch (subModalState) {