mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
fix(contacts/nui): interface for useContacts
This commit is contained in:
1 parent
c7f6a72180
commit
a7100f16a9
2 files changed
+10
-7
No files matched your search
@@ -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 => {
|
||||
|
||||
Reference in new issue
Block a user