mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-05 06:28:51 +00:00
fix(contacts): dont send a object when deleting a contact
This commit is contained in:
1 parent
85d4ab3c36
commit
4803753cfa
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();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user