mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
more formatting
This commit is contained in:
1 parent
046447b0fb
commit
f552c1212c
157 files changed
+635
-1579
No files matched your search
@@ -17,7 +17,7 @@ export const useContacts = (): IUseContacts => {
|
||||
const found = contacts.find((contact) => contact.number === number);
|
||||
return found ? found.display : number;
|
||||
},
|
||||
[contacts]
|
||||
[contacts],
|
||||
);
|
||||
const getContact = useCallback(
|
||||
(id: number): Contact | null => {
|
||||
@@ -25,7 +25,7 @@ export const useContacts = (): IUseContacts => {
|
||||
if (contact.id === id) return contact;
|
||||
}
|
||||
},
|
||||
[contacts]
|
||||
[contacts],
|
||||
);
|
||||
return { contacts, getDisplayByNumber, getContact };
|
||||
};
|
||||
Reference in new issue
Block a user