Merge branch 'master' into feat/alerts-for-apps

This commit is contained in:
Christopher Gjelten authored and GitHub committed 2021-02-22 21:58:19 +01:00
commit fef876d9a6
58 files changed
+769 -697

No files matched your search

@@ -7,7 +7,8 @@ import { useSnackbar } from '../../../ui/hooks/useSnackbar';
export const useContactsService = () => {
const setContacts = useSetRecoilState(contactsState.contacts);
const { addAlert } = useSnackbar()
useNuiEvent('CONTACTS', 'setContacts', setContacts);
useNuiEvent('CONTACTS', 'setAlert', addAlert);
return useContacts();
};
};