fix(contacts): dont send a object when deleting a contact

This commit is contained in:
Christopher committed 2021-04-18 21:51:41 +02:00
1 parent 478d4d4519
commit 6c9e2aef04
1 file changed
+1 -3
@@ -109,9 +109,7 @@ const ContactsInfoPage = () => {
data: contact, data: contact,
level: 2, level: 2,
}); });
Nui.send(ContactEvents.DELETE_CONTACT, { Nui.send(ContactEvents.DELETE_CONTACT, contact.id);
id: contact.id,
});
history.goBack(); history.goBack();
}; };