mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
Feat(Contacts:client): Sending data to NUI
This commit is contained in:
1 parent
1e3b8ce6a7
commit
a28df727f1
2 files changed
+11
-12
No files matched your search
@@ -5,6 +5,6 @@ import { useContacts } from "./useContacts";
|
||||
|
||||
export const useContactsService = () => {
|
||||
const setContacts = useSetRecoilState(contactsState.contacts);
|
||||
useNuiEvent("BANK", "setContacts", setContacts);
|
||||
useNuiEvent("CONTACTS", "setContacts", setContacts);
|
||||
return useContacts();
|
||||
};
|
||||
Reference in new issue
Block a user