chore: fix contacts loading multiple times

This commit is contained in:
Aman Harwara
2023-08-09 18:02:37 +05:30
parent a4e2be9fd9
commit 55b17b89b4

View File

@@ -29,7 +29,7 @@ const ContactInviteModal: FunctionComponent<Props> = ({ vault, onCloseDialog })
setIsLoadingContacts(false)
}
void loadContacts()
}, [application.vaultInvites, contacts.length, vault])
}, [application.vaultInvites, vault])
const handleDialogClose = useCallback(() => {
onCloseDialog()