mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
feat(contacts/nui): interface for useFilteredContacts
This commit is contained in:
1 parent
01291abe73
commit
fa465a8b23
2 files changed
+7
-2
No files matched your search
@@ -6,7 +6,7 @@ interface ModalProps {
|
||||
setShowModal: (show: boolean) => void;
|
||||
}
|
||||
|
||||
export const useModal = () => {
|
||||
export const useModal = (): ModalProps => {
|
||||
const [showModal, setShowModal] = useRecoilState(contactsState.showModal);
|
||||
return { showModal, setShowModal };
|
||||
};
|
||||
Reference in new issue
Block a user