chore: fix contacts loading multiple times
This commit is contained in:
@@ -29,7 +29,7 @@ const ContactInviteModal: FunctionComponent<Props> = ({ vault, onCloseDialog })
|
|||||||
setIsLoadingContacts(false)
|
setIsLoadingContacts(false)
|
||||||
}
|
}
|
||||||
void loadContacts()
|
void loadContacts()
|
||||||
}, [application.vaultInvites, contacts.length, vault])
|
}, [application.vaultInvites, vault])
|
||||||
|
|
||||||
const handleDialogClose = useCallback(() => {
|
const handleDialogClose = useCallback(() => {
|
||||||
onCloseDialog()
|
onCloseDialog()
|
||||||
|
|||||||
Reference in New Issue
Block a user