feat(contacts/nui): interface for useFilteredContacts

This commit is contained in:
Christopher committed 2021-01-14 19:00:13 +01:00
1 parent 01291abe73
commit fa465a8b23
2 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -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 };
};