fix(contacts/nui): interface for useContacts

This commit is contained in:
Christopher committed 2021-01-14 19:32:56 +01:00
1 parent c7f6a72180
commit a7100f16a9
2 files changed
+10 -7

No files matched your search

+3 -7
View File
@@ -1,15 +1,11 @@
import { useRecoilValue } from "recoil";
import { contactsState } from "./state";
interface Contact {
id: string;
display: string;
number: string;
avatar?: string
}
import { ContactProps } from '../../../common/typings/contact';
interface IUseContacts {
contacts: Contact[];
contacts: ContactProps[]
}
export const useContacts = (): IUseContacts => {