mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
8 lines
203 B
JavaScript
8 lines
203 B
JavaScript
import { useRecoilValue } from "recoil";
|
|
import { contactsState } from "./state";
|
|
|
|
export const useContacts = () => {
|
|
const contacts = useRecoilValue(contactsState.contacts);
|
|
return { contacts };
|
|
};
|