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

This commit is contained in:
Christopher authored and Taso committed 2021-04-19 14:14:25 -04:00
1 parent 85d4ab3c36
commit 4803753cfa
1 file changed
+1 -3
@@ -109,9 +109,7 @@ const ContactsInfoPage = () => {
data: contact,
level: 2,
});
Nui.send(ContactEvents.DELETE_CONTACT, {
id: contact.id,
});
Nui.send(ContactEvents.DELETE_CONTACT, contact.id);
history.goBack();
};